Do not install the Windows Management Framework 3.0 (KB2506143) on SharePoint 2010 Servers

The Windows Management Framework 3.0 (KB2506143) includes PowerShell 3.0.  Because SharePoint 2010 is based off of the .NET 3.5 Framework, it is incompatible with PowerShell 3.0, which is based off of the .NET 4.0 Framework.  Installing this Optional update from Microsoft Update or the Microsoft Download Center will cause the SharePoint Management Shell to throw an error:

Uninstalling and rebooting the SharePoint Server will resolve this issue.

WMF 3.0 is also incompatible with Exchange 2007 and 2010, as well as some System Center products.

EDIT: The PowerShell team has put together a list of products with known compatibility issues as well as temporarily removed the WMF 3.0 from Windows Update:

3 Comments

  1. Yep, but that won't cover all cases were PowerShell is used, so it is not advisable to have WMF 3.0 installed.

  2. Hi Trevor,

    There is a command-line switch that can be added to the management shell shortcut. Notice the “-Version 2.0″ in the shortcut.

    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 ‘ ”

    That addition allows me to run the management shell with WMF installed on the server.

    It does not work with PowerShell ISE.

Leave a Reply