SharePoint Management Shell commands in PowerShell

SharePoint Management Shell is your best friend – you can do virtually anything on your SharePoint 2010 farm through it. However, it always bothers me that I cant use the right click paste I’m used to in PowerShell.

If we take a look at the SharePoint Management Shells Start menu link, we notice that it’s just a simple PowerShell window with some additional commands on top. As such, we can turn any PowerShell window into a SharePoint Management Shell. Just run

Add-PsSnapin Microsoft.SharePoint.PowerShell

in a PowerShell window and all the SharePoint management commands are yours to use.
Continue reading “SharePoint Management Shell commands in PowerShell”