TermStore
PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016

Create the Managed Metadata Service Application in SharePoint Server (GUI & PowerShell)

The most common examples for metadata are “data about data“, or “info about info“. And that’s obviously true 🙂 In a way, you give more info on the data you have. I see that as some kind of “drill down a bit further” in the information. In SharePoint words, we are talking about taxonomy and folksonomy. For more information please…

Continue Reading

LoopBackCheckPowerShell
PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016

Disable “LoopBackCheck” for SharePoint Server

One thing that’s frustrating when you do testing, or studying with SharePoint, is having to enter your credentials every time you hit a Web Application… Well, that’s actually coming from a security feature introduced wayyyyy back in Windows Server. And as it says, it’s a security feature, and it’s called LoopBackCheck. Meaning what? Meaning you can disable this feature in…

Continue Reading

UsageAndHealthInCA
PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016

Create the Usage and Health Service Application using PowerShell

The Usage and Health Data Collection Service Application might be “quiet”, but don’t be fooled, it is a very important for your SharePoint Farm. Once created and configured, you can access reports and logs, to make sure your SharePoint environment is healthy, and setup for optimal performance. The Usage and Health Data Collection service application cannot be created directly from…

Continue Reading

StateServAppDB
PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016

Create the State Service Application in SharePoint Server using PowerShell

The State Service Application is used to store the status of some of the SharePoint components. This service application can be created via SharePoint Central Admin when running the Configuration Wizard, but you’ll end up having the GUID alongside the database name, and that’s not nice! With only a few PowerShell cmdlets, you can create the State Service Application, and…

Continue Reading

BasicTask
PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016

Create a Scheduled Task for SharePoint Farm Backups using PowerShell

PowerShell makes it easy to backup your SharePoint farm. And combined with the Task Scheduler, it makes you even more productive! In today’s blog post, we’ll use PowerShell to create the SharePoint Farm backup scripts, and automate them with the Task Scheduler. We’ll create 2x backup scripts: Full backup > will run weekly Differential backup > will run daily The…

Continue Reading

ReviewDBStatus
PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016

Rename the Admin Content Database in SharePoint 2016 using PowerShell

If you’re like me and like to have “clean” names for your SharePoint databases, then you’d want to rename the Admin Content database in your SharePoint Server 2016 if you haven’t used a scripted installation. The first time I installed SP2016 and used my script for SP2013 to rename the Admin Content database, I was faced with a strange red…

Continue Reading

GetPnPListItem
PowerShell for O365, SharePoint Online

Create Libraries/Folders/Documents in SharePoint Online using PowerShell PnP

Today, we’ll look at creating documents libraries & folders, then upload documents into those folders using PowerShell PnP. For more info about the Practices & Patterns (PnP), refer to the official documentation, and/or download the modules from hard workers in GitHub – SharePoint PowerShell PnP.   Connect to the SPO Site Collection First things first, let’s connect to the SharePoint…

Continue Reading

thesaurusFile
SharePoint 2013, SharePoint 2016

Create synonyms using a Thesaurus file in SharePoint Server

This is no secret that Search is very important in SharePoint. Creating a thesaurus file, and uploading it to SharePoint Server, will provide synonyms results to users when they perform a search. This is not applicable to SharePoint Online (at the time of writing: Dec. 2017). Let’s get started!   Minimum requirements: Search Service Application created Search Service Application Admin…

Continue Reading

NewCTasDefault
PowerShell for O365, SharePoint Online

Create and assign Content Types to Libraries using PowerShell PnP

The way you use PowerShell for SharePoint Online (SPO) is a bit different than with SharePoint Server. You don’t have access to the SPO servers, and you have way less cmdlets available compared to SharePoint Server. But thanks to very nice people out there, we can now use SharePoint PnP (Patterns & Practices) to create or retrieve things easily. For…

Continue Reading