Wednesday, February 25, 2015

Command to add before executing PowerShell

Before you run any Poweshell scripts, you should add its DLL which include all API necessary to run the scripts.

Add-PSSnapin Microsoft.SharePoint.PowerShell

No comments:

Post a Comment