4

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

当我尝试添加-pssnapin

Add-PSSnapin Microsoft.SharePoint.Powershell

它抛出异常

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

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

4

1 回答 1

5

I think the only way is to Enable-PSRemoting on Sharepoint server, then from XP computer:

Enter-PSSession -ComputerName sharepointservername
Add-PSSnapin Microsoft.SharePoint.PowerShell

In this way you can manage remotely your sharepoint server

Edit:

Sharepoint Remoting step by step

于 2012-07-11T14:09:47.397 回答