添加SharePoint命令集

在PowerShell中注册SharePoint程序集

Add-PSSnapin Microsoft.SharePoint.PowerShell

获取所有在PowerShell中注册的程序集:

Get-PSSnapin –Registered
原文地址:https://www.cnblogs.com/wengnet/p/1974920.html