Add-PsSnapin Microsoft.SharePoint.PowerShell Add-PsSnapin Microsoft.SharePoint.PowerShell 运行一下 就好了 转载于:https://www.cnblogs.com/ahghy/archive/2013/01/23/2873731.html