Sharepoint域账户,运行Power Shell报错
生活随笔
收集整理的這篇文章主要介紹了
Sharepoint域账户,运行Power Shell报错
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
以其他域賬戶(hù)登陸Sharepoint 2013 服務(wù)器,并以管理員權(quán)限運(yùn)行SharePoint 2013 Management Shell時(shí),出現(xiàn)如下錯(cuò)誤:
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
同時(shí),所有SharePoint的PowerShell 命令均無(wú)法執(zhí)行。
解決:
首先以有權(quán)限的管理員登陸,然后管理員權(quán)限運(yùn)行PowerShell,并將紅色部分替換為,上述使用者的域賬戶(hù)
Add-SPShellAdmin -UserName Domain\User
總結(jié)
以上是生活随笔為你收集整理的Sharepoint域账户,运行Power Shell报错的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 【转】2.5SharePoint服务器端
- 下一篇: TFS中的统一集成(九)