ScriptWithErrorHandling
PowerShell for O365, SharePoint 2013, SharePoint 2016, SharePoint Online

Retrieve Site Policies in SharePoint Online using PowerShell PnP

Site Policies in SharePoint can be used to have a better governance as the platform is growing. Storage is expensive, so if you let your (unused) sites just “sitting there“, then it’s not a good use of money is it? If you need more information about Site Policies, start with an Overview of site policies in SharePoint Server. In this…

Continue Reading

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

Create Site Collections in SharePoint Server using PowerShell and an XML file

We have so many different ways to achieve something using PowerShell. In this blog post, we’ll have a look at how we can create Site Collections in SharePoint Server using an XML file and PowerShell (of course!) Open your favourite editors (I’m using Notepad++ and Visual Studio Code) and let’s get started!   Create the XML file XML (eXtensible Markup…

Continue Reading

gcmSiteMasterv
SharePoint 2016

Create Sites using Fast Site Collection feature in SharePoint Server 2016

Fast Site Collection Creation is a new feature in SharePoint 2016, that enables Site Collections to be created in a much faster way that in previous versions. This feature actually uses a copy of a site template which is stored in the content database, with all the site’s features already enabled. If a SharePoint administrator has a requirement for creating…

Continue Reading

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

Create the Word Automation Service Application in SharePoint Server (GUI & PowerShell)

The Word Automation service application in SharePoint Server performs the conversion of documents supported by Microsoft Word. Not a very popular nor configured service application from my work experience, but it can be useful. In this post, we’ll learn how to create this Word Automation service application using Central Admin (GUI) as well as PowerShell.   Create the Word Automation…

Continue Reading

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

Create the Content Type Hub in SharePoint Server (GUI & PowerShell)

Today’s post will be a bit long. But at the end, you’ll understand what is the Content Type Hub, its purpose, and how to create it in 2 different ways! Content what? In order to understand the purpose of the Content Type Hub, we first need to understand Content Types. This is a rather confusing topic for many of us,…

Continue Reading

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

Create the Search Service Application in SharePoint Server using PowerShell

One of the most important service application (in my opinion), and maybe one of the most complex as well, is the Search Service Application. We can be flexible, and put some of the components of multiple servers, or host everything in a single server. For information about the different Search components in SharePoint Server, have a look at the Overview…

Continue Reading

Sub-subsites_for_Specific_Subsite
PowerShell for O365, SharePoint Online

Retrieve all subsites and sub-subsites in SharePoint Online using PowerShell PnP

Short blog post for today is about getting all your subsites & sub-subsites for a specific Site Collection within your SharePoint Online environment. As an admin for your Office 365 tenant, you may want to retrieve this information to pass on to an Executive in your company, or maybe simply create a report? And if so, you should already be…

Continue Reading

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

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