[英]Creating a sharepoint 2013 site collection with powershell
I'm trying to create a site collection and I get an message when opening the SP management shell console: 我正在尝试创建网站集,并且在打开SP Management Shell控制台时收到一条消息:
"The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered" “无法访问本地服务器场。未注册具有FeatureDependencyId的Cmdlet”
I have tried almost everything internet has to offer but no luck. 我尝试了互联网几乎提供的所有功能,但没有运气。 It would be a great help if someone could share some ideas.
如果有人可以分享一些想法,那将是一个很大的帮助。 I have used below site as a reference because it seems to be the same issue.
我将以下站点用作参考,因为这似乎是相同的问题。
http://blogs.technet.com/b/meamcs/archive/2013/02/18/sharepoint-powershell-command-problem-featuredependencyid-are-not-registered.aspx http://blogs.technet.com/b/meamcs/archive/2013/02/18/sharepoint-powershell-command-problem-featuredependencyid-are-not-registered.aspx
Please try this. 请尝试这个。 Whenever, I load the PowerShell ISE and Type the command to load the SharePoint PowerShell module, it starts throwing error
每当我加载PowerShell ISE并键入命令以加载SharePoint PowerShell模块时,它就会开始引发错误
http://blogs.msdn.com/b/chjain/archive/2013/08/10/10440633.aspx http://blogs.msdn.com/b/chjain/archive/2013/08/10/10440633.aspx
Figured it out! 弄清楚了! The problem was the user permissions.
问题是用户权限。 I had to use a different user with elevated permission to access the farm.
我必须使用具有较高权限的其他用户来访问服务器场。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.