Update Windows Management Framework 5.0 on Windows 2012 R2

  • by

Please refer to the following tutorial on how to Update Windows Management Framework 5.0 on Windows 2012 R2 in my lab

I would like to take advantage of the following new features in WMF5

  • Software Discovery, Install and Inventory with PackageManagement
  • PowerShell Module Discovery, Install and Inventory with PowerShellGet
  • PowerShell Script Discovery, Install and Management with PowerShellGet

Windows 2012 R2 is installed with WMF4 , PowerShell version 4

$PSVersionTable
Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.18968
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2 

Download Win8.1AndW2K12R2-KB3134758-x64.msu and install it – server need to be rebooted

Verify PowerShell had been upgraded to 5.0

$PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.34209
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1