Installing WMF 5 and PowerShell 5 on Windows 2012 R2


PowerShell continues to improve, many features are being added and now we have PowerShell 5 that is available for installation on Windows Server 2012 and Windows 8.1. The installation is simple and only requires a reboot. Windows Management Framework 5.0 (WMF 5) includes updates to Windows PowerShell, Windows PowerShell Desired State Configuration (DSC), Windows Remote Management (WinRM), Windows Management Instrumentation (WMI).

Windows Management Framework (WMF) 5.0 RTM brings functionality that has been updated from WMF 4.0. WMF 5.0 RTM is available for installation only on Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, Windows 8.1, and Windows 7 SP1 and contains updated versions or introduction of the following features:

  • Windows PowerShell
  • Just Enough Administration (JEA)
  • Windows PowerShell Desired State Configuration (DSC)
  • Windows PowerShell Integrated Scripting Environment (ISE)
  • Windows PowerShell Web Services (Management OData IIS Extension)
  • Windows Remote Management (WinRM)
  • Windows Management Instrumentation (WMI)

WMF 5.0 RTM replaces the WMF 5.0 Production Preview. You can install WMF 5.0 RTM without uninstalling WMF 5.0 Production Preview, but you must uninstall all other older releases of WMF 5.0 previews before installing the WMF 5.0 RTM.


Download WMF 5 from There are several packages to choose from for installation.


Since we are installing on Windows Server 2012 R2 in this example select Win8.1AndW2K12R2-KB3134758-x64.msu or W2K12-KB3134759-x64.msu. For my choice the winner was Win8.1AndW2K12R2-KB3134758-x64.msu. Once downloaded double-click to start the installation and reboot when prompted.

Once the system is back up check the version. Open PowerShell and type $host.version.

PowerShell 5 Propmt



There you have it! Windows PowerShell 5 is now installed and available for you to explore the updated and new features like Windows PowerShell Desired State Configuration (DSC), which we will cover in future posts!


6 Responses to “Installing WMF 5 and PowerShell 5 on Windows 2012 R2”

  1. Ron Davis says:

    Hey Thanks! The 8.1 download fixed my server 2012 install as the server package would not install.

  2. Kamil Kurzynowski says:

    Thanks a lot! I had this issue with instalation, ms isn’t clear which packet is correct for win2k12 r2.

  3. Josh says:

    I agree with Kamil. It wasn’t clear what package to use until I read through this guide. Thanks for the information.

  4. Harjeet says:

    Thank you . It worked

  5. threedo says:

    This post made it clear which installation file to install for 2012 R2. Thank you as it was not clear from Microsoft that it was part of the 8.1 install.


  1. Update PowerShell to 5.1 on Windows server 2012R2 | Microsoft Technology Trends - […] error that this may not be the correct setup to run. Read on article to choose the correct file…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.