SitesWebpart
PowerShell for O365, SharePoint Online

Associate multiple sites to a Hubsite using PowerShell PnP

Hubsites have been announced at Microsoft Ignite in 2017, and provide a way to display content from multiple sites (once they’re connected) with same branding, and also a search functionality across all connected sites. In today’s post, we’ll see how to use PowerShell PnP (Patterns & Practices) to associate teams and/or communication sites to a hubsite. You can have a…

Continue Reading

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

XMLFile
PowerShell for O365, PowerShell for SharePoint (on-prem), SharePoint 2013, SharePoint 2016, SharePoint Online

Create a SharePoint Taxonomy using PowerShell PnP and XML file

Today is all about SharePoint taxonomy with PowerShell PnP! In a nutshell, taxonomy is a hierarchical group of term sets & terms, that is provided by SharePoint when configuring the Managed Metadata Service Application (MMS). Creation of terms is done via the Term Store in SharePoint Server (when MMS is configured), and is also available in SharePoint Online. For more…

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

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

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