You are currently offline, waiting for your internet to reconnect

SharePoint 2010 Management Shell does not load with Windows PowerShell 3.0


After you install Microsoft SharePoint Server 2010 and Windows PowerShell 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.

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 ' "


Article ID: 2796733 - Last Review: 12/21/2012 17:02:00 - Revision: 1.0

  • Microsoft SharePoint Server 2010
  • Microsoft SharePoint Server 2010 Service Pack 1
  • kbsurveynew kbprb kbexpertiseinter kbtshoot KB2796733