PowerShell for SharePoint (on-prem)

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


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


Rename the Admin Content Database in SharePoint 2016/2019 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...