Windows Management Framework (WMF) 5.1 per KB3191565 updates Windows PowerShell and associated features in legacy and downlevel Windows operating systems to match those released in Windows Server 2016 and Windows 10 Anniversary Edition.
- Windows Server 2012 R2
- Windows Server 2012
- Windows Server 2008 R2 SP1
Windows Server 2008
- Windows 8.1
- Windows 7 SP1
- .NET Framework 4.5.x or higher
- Install and Configure WMF 5.1 (download)
- direct installation over WMF 4.0 or 5.0
- uninstall WMF 5.1 Preview
- Windows Server 2008 R2 SP1 or Windows 7 SP1
– either uninstall WMF 3.0 or save/restore $PSModulePath before/after installing WMF 5.1
– elevated execution of Set-WSManQuickConfig to configure WinRM (default not enabled)
– unzip Win7-KB3191566-x??.zip, execute Install-WMF5.1.PS1 and follow on-screen instructions
WMF 4.0 required (on Windows Server 2008 R2 or Windows 7)
INCOMPATIBLE / NOT TESTED
- Microsoft Exchange Server 2013
- Microsoft Exchange Server 2010 SP3
- Skype for Business Server 2015
- Microsoft Lync Server 2013
- Microsoft Lync Server 2010
- System Center 2012 R2 Service Management Automation
- Microsoft SharePoint Server 2010
- System Center 2012 Virtual Machine Manager
– Installing the .NET Framework (MSDN Library)
– Windows Management Framework (WMF) 5.1 Release Notes (link)
– Windows Management Framework (WMF) 5.1 Released (Windows PowerShell Blog)
– .NET Framework Versions and Dependencies (MSDN Library)
– Mailbag: What version of the .NET Framework is included in what version of the OS? (MSDN Blog)
Windows Management Framework (WMF) 5.1 Released
Since PowerShell v3, you should have already executed Update-Help at least once to download a local copy of the PS help files for offline use. This should be repeated if the version of PS is updated by way of the Windows Management Framework for existing Windows operating system.
Perhaps one not so frequently used feature when it is time to ask for help or learn more about a particular topic pertains to that of the set of about_* Help files. Over 100 of these from about_Aliases to about_Workflows are present in the initial release of PowerShell 5.0 shipped in the RTM version of Windows 10. Since then, Windows 10 has seen two major releases, namely Version 1511 and 1607 (Anniversary Update) where the latter updates PowerShell to version 5.1
After successfully updated your copy of Windows 10 to either of the latter 2 versions, …
Along with the new System Center 2016 suite is the eagerly awaited Windows Server 2016 where both products are now officially announced at IGNITE 2016 (Atlanta). Billed as the next cloud-ready operating system, IT administrators can expect improvements in (built-in) security, application platform support and software-defined infrastructure with the BIG focus on (Windows) Container technology *.
The new remote management “successor” option to Server Core call “Nano Server” carries a significantly smaller footprint and is available only to Software Assurance customers for production deployment.
* packaged with commercial edition of Docker engine – separately install via PowerShell script (a lightweight virtual machine designed for microservices deployment)
** with instructions to convert Windows Server 2016 evaluation version to retail
Der nächste PowerShell v5 Basics Einführungskurs ist am Do. 25.08.2016 in Zürich geplant und findet am 8 Abende statt (1800 bis 2130 Uhr).
Es gibt noch freien Plätze. Mehr Informationen und Anmeldung finden Sie hier.
If you have not yet signed up for my “Core Administration – Skype for Business Server” Pluralsight (and other excellent) online video course(s), you may want to check out this course’s free overview here or click on “Course Overview” under the Table of Contents (link).
If you do not want to inadvertently add Adobe Flash to your Skype for Business Server 2015 installation, a desktop application that serves no real purpose on your SERVER operating system (other than making it vulnerable from a security perspective), a review of my previous post* is in order.
This is important as various blog postings, including Microsoft’s #skype4b documentation on TechNet Library (link), continue to make the same (old) suggestion to install this “side application” as part of the prerequisites as of today.
I am really excited to share that my latest article “Using PowerShell DSC to Deploy Update Packages” is now published online at WindowsNetworking.com (many thanks to fellow MVP Mitch Tulloch!).
By way of the Desired State Configuration feature, a standards based system management platform delivered as part of Windows PowerShell 4.0 and higher, you can deploy common update packages (.msu) – including Windows Management Framework 5 RTM which comes with PowerShell 5 – using DSC itself.
You are cordially invited to check out this article where your feedback here or via social media (@_leedesmond) is always welcome!
You are performing operational tasks in Skype for Business Server with the Control Panel when an Active Directory error message similar to the below started popping up for no apparent reason:
Get-CsUser : Active Directory error “-2147418113” occurred when looking for global catalogs in forest “swissitpro.ch“: “The user name or password is incorrect.”
At line:1 char:1
+ Get-CsUser -Identity swissitpro\desmond
+ CategoryInfo : NotSpecified: (:) [Get-CsUser], ADOperationException
+ FullyQualifiedErrorId : Microsoft.Rtc.Management.ADConnect.ADOperationExcep
The error below could result when performing an administrative task with the Skype for Business Control Panel or running a cmdlet in the management shell.
PS C:\Users\administrator> Get-CsUser user01
Get-CsUser : A connection was successfully established with the server, but
then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 – The wait operation timed out.)
At line:1 char:1
+ Get-CsUser user01
+ CategoryInfo : NotSpecified: (:) [Get-CsUser], SqlConnectionExc
+ FullyQualifiedErrorId : Microsoft.Rtc.Common.Data.SqlConnectionException
To resolve, ensure that the host machine has sufficient RAM memory and/or close unneeded running applications. This fix applies even if the Windows operating system appears to be running with adequate memory. Otherwise, a machine reboot may be in order.
Windows Management Framework (WMF) 5.0 RTM packages
(PowerShell 5.0 and supporting framework for down-level OS#)
- includes updates to Windows PowerShell, Windows PowerShell Desired State Configuration (DSC), Windows Remote Management (WinRM) and Windows Management Instrumentation (WMI)
- applies to Windows Server 2012 / R2, Windows 2008 R2 SP1, Windows 8.1 and Windows 7 SP1 (download and release notes)
- replace previously released WMF 5.0 RTM* and Production Preview packages
- require WMF 4.0 and .NET Framework 4.5 or higher installed to run WMF 5.0 on Windows 7 SP1 or Windows Server 2008 R2 SP1 (see Note)
- described in KB3134758, KB3134759, and KB3134760
- fix the $PSModulePath issue in the initial release of WMF 5.0 RTM packages# (more here)
- Systems that are running the following server applications should not run Windows Management Framework 5.0 at this time**:
– Microsoft Exchange Server 2013
– Microsoft Exchange Server 2010 SP3
– Microsoft SharePoint Server 2013
– Microsoft SharePoint Server 2010
– System Center 2012 Virtual Machine Manager
To get the same set of functionality in Windows 10, make sure you upgrade / update to Build 1511 per KB3120677 / KB3124262## via Windows Update (or WSUS, System Center, etc.).
* KB3094174, KB3094175 and KB3094176 must all be uninstalled first
** can run WMF 5.0 on System Center 2012 Configuration Manager
# not applicable to Windows 10 or Windows Server 2016 Technical Preview builds
## first release Nov 2015; see 
- Windows Management Framework (WMF) 4.0 Update Package for Windows Server 2012 (KB3119938), Windows Server 2008 R2 SP1 and Windows 7 SP1 (KB3109118) ; link
- Windows Management Framework 4.0 RTM is a pre-requisite for installing these packages.
- see Nov 2014 Update Rollup (KB3000850) for Windows 8.1 / RT and Windows Server 2012 R2. Prerequisites KB2919355.