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

相關問題