4

我必须使用powershell将csv文件字段上传到Sharepoint 2010列表中。我在Windows XP机器上工作。如何在不安装SharePoint的情况下使用Sharepoint cmdlet?

当我试图附加pssnapin

Add-PSSnapin Microsoft.SharePoint.Powershell 

它抛出异常,如

“在Windows PowerShell管理单元 'Microsoft.SharePoint.Powershell' 是 这台机器上没有安装“。

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

+0

必由之路http://sharepoint.stackexchange.com/questions/101038/how-do-i复制-install-the-2013-sharepoint-powershell-module-on-my-windows-7-client-co,但不能在不同的Stack站点上标记它。 – JohnC 2016-10-31 20:32:46

回答

6

我认为唯一的办法是在Sharepoint服务器上从Enable-psremoting和从XP计算机enter-pssession -computername sharepointservernameAdd-PSSnapin Microsoft.SharePoint.PowerShell

这样您可以远程管理您的SharePoint服务器

编辑:

Sharepoint Remoting step by step

相关问题