PowerShell for SharePoint (on-prem)

Task-based command-line shell and scripting language built on the .NET Framework


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...


Backup and Restore a Site Collection using PowerShell

In a previous blog post, I was using the Copy-SPSite cmdlet to duplicate a Site Collection to another content database,...


Create Managed Paths in SharePoint Server using PowerShell

Managed paths in SharePoint Server are a way to differentiate your Site Collections with a chosen URL, and are created...


Copy a Site Collection to a new database using PowerShell

It’s pretty common in the SharePoint world to move Site Collection(s) from one database to another. But there may also...