How to work with Sharepoint cmdlet without installing sharepoint?

℡╲_俬逩灬. 提交于 2019-11-28 04:40:32

问题


I have to upload csv file fields into Sharepoint 2010 list using powershell. I am working in windows XP machine.

When i am trying to add-pssnapin

Add-PSSnapin Microsoft.SharePoint.Powershell

It throws exception as

"The Windows PowerShell snap-in 'Microsoft.SharePoint.Powershell' is not installed on this machine."

Is it possible to work with Sharepoint Powershell cmdlet just by installing Pssnapin or by placing the necessary dlls in some location and load it?


回答1:


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



来源:https://stackoverflow.com/questions/11434304/how-to-work-with-sharepoint-cmdlet-without-installing-sharepoint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!