天道酬勤,学无止境

sharepointadmin

如何在不安装Sharepoint的情况下使用Sharepoint cmdlet?(How to work with Sharepoint cmdlet without installing sharepoint?)

问题 我必须使用Powershell将csv文件字段上载到Sharepoint 2010列表中。 我正在Windows XP机器上工作。 当我尝试添加-pssnapin Add-PSSnapin Microsoft.SharePoint.Powershell 它抛出异常 “此计算机上未安装Windows PowerShell管理单元'Microsoft.SharePoint.Powershell'。” 是否可以仅通过安装Pssnapin或将必要的dll放置在某个位置并加载它来使用Sharepoint Powershell cmdlet? 回答1 我认为唯一的方法是在Sharepoint服务器上Enable-PSRemoting ,然后从XP计算机上Enable-PSRemoting : Enter-PSSession -ComputerName sharepointservername Add-PSSnapin Microsoft.SharePoint.PowerShell 这样,您可以远程管理共享点服务器 编辑: 共享点远程处理

2021-05-13 03:40:45    分类:技术分享    sharepoint   powershell   sharepoint-2010   powershell-2.0   sharepointadmin

How to work with Sharepoint cmdlet without installing sharepoint?

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?

2021-04-20 02:02:13    分类:问答    sharepoint   powershell   sharepoint-2010   powershell-2.0   sharepointadmin