如何在不安装Sharepoint的情况下使用Sharepoint cmdlet?

如何在不安装Sharepoint的情况下使用Sharepoint cmdlet?,sharepoint,powershell,sharepoint-2010,powershell-2.0,sharepointadmin,Sharepoint,Powershell,Sharepoint 2010,Powershell 2.0,Sharepointadmin,我必须使用powershell将csv文件字段上载到Sharepoint 2010列表中。我在WindowsXP机器上工作 当我尝试添加pssnapin时 Add-PSSnapin Microsoft.SharePoint.Powershell 它抛出异常作为 “Windows PowerShell管理单元“Microsoft.SharePoint.PowerShell”是 此计算机上未安装。” 是否可以仅通过安装Pssnapin或将必要的DLL放置在某个位置并加载来使用Sharepoint

我必须使用powershell将csv文件字段上载到Sharepoint 2010列表中。我在WindowsXP机器上工作

当我尝试添加pssnapin时

Add-PSSnapin Microsoft.SharePoint.Powershell
它抛出异常作为

“Windows PowerShell管理单元“Microsoft.SharePoint.PowerShell”是 此计算机上未安装。”


是否可以仅通过安装Pssnapin或将必要的DLL放置在某个位置并加载来使用Sharepoint Powershell cmdlet?

我认为唯一的方法是在Sharepoint server上启用PSRemoting,然后从XP计算机:

Enter-PSSession -ComputerName sharepointservername
Add-PSSnapin Microsoft.SharePoint.PowerShell
通过这种方式,您可以远程管理sharepoint服务器

编辑:

基本上是由复制的,但当它位于不同的堆栈站点上时,不能将其标记为这样。