Friday, September 4, 2015

SharePoint 2010 Management Shell does not load with Windows Power Shell 3.0



SharePoint 2010 Management Shell does not load with Windows Power Shell 3.0

Issue: After you install Microsoft SharePoint Server 2010 and Windows Power Shell 3.0 on a server, you receive one or both of the following error messages when you start SharePoint 2010 Management Shell:

Error message 1:The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

Error message 2:Microsoft SharePoint is not supported with version 4.0.30319.17929 of the Microsoft .Net Runtime.

Workaround: please follow the work around mentioned below.
To work around this issue, change the Target field value for SharePoint 2010 Management Shell. To do this, follow these steps:
1.   Click Start, and then right-click SharePoint 2010 Management Shell.
2.   Click Properties.
3.   Click the Shortcut tab in the SharePoint 2010 Management Shell Properties window.
4.   Input the following value in the Target field:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Version 2.0 -NoExit " & ' C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\\sharepoint.ps1 ' "

 


I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.
Related Posts Plugin for WordPress, Blogger...

ShareThis

X