Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Power Shell连接到Sharepoint_Sharepoint_Powershell 2.0 - Fatal编程技术网

使用Power Shell连接到Sharepoint

使用Power Shell连接到Sharepoint,sharepoint,powershell-2.0,Sharepoint,Powershell 2.0,我试图添加管理单元(非常基本的步骤),但我得到了以下错误 用户>在Microsoft.SharePoint.PowerShell中添加PSSNaps ---添加PSSnapin:尚未为Windows PowerShell版本2注册任何管理单元。 第1行字符:13 +是否在计算机上安装了SharePoint?是。它已安装。Windows Server 2008中的Sharepoint 2010 R20是否尝试启动:Sharepoint 2010命令行管理程序?开始->所有程序->Microsoft

我试图添加管理单元(非常基本的步骤),但我得到了以下错误

用户>在Microsoft.SharePoint.PowerShell中添加PSSNaps

---添加PSSnapin:尚未为Windows PowerShell版本2注册任何管理单元。 第1行字符:13
+是否在计算机上安装了SharePoint?是。它已安装。Windows Server 2008中的Sharepoint 2010 R20是否尝试启动:Sharepoint 2010命令行管理程序?开始->所有程序->Microsoft SharePoint 2010产品->SharePoint 2010管理外壳
Get-PSSnapin-Registered
All Done的结果是什么。我没有以管理员身份启动POWER SHELL。那是我的错误。现在一切正常。