Powershell: WMF versions

There seems to be some disparity between PowerShell versions and Windows Management Framework, not helped by Microsoft’s versioning and naming policy; which is contradictory at the best of times.

As far as I can tell, to date, the WMF version directly corresponds to the PS version. – Let’s hope MS keep it that way so it is a safe bet that $PSVersionTable.PSVersion will return the current version of WMF.

Anyway, needing this information for myself and unable to find it, I have completed the painstaking process of piecing it all together and presenting it in the following table:

WMF VersionPS VersionWSManStackVersion ValueOSOS Version #ArchKBDate PublishedFile Name
9689302.02.0XP5.1x86KB96893026/10/2009WindowsXP-KB968930-x86-ENG.exe
1.05.0Windows Server 2012 R26.3x64KB306643708/09/2015Win8.1AndW2K12R2-KB3066437-x64.msu
1.04.03.0Windows Server 20126.2x64KB279988828/05/2015Windows8-RT-KB2799888-x64.msu
1.05.05.0Windows Server 20126.2x64KB306643808/09/2015W2K12-KB3066438-x64.msu
3.03.03.0Windows Server 2008 SP26.0x64KB250614603/12/2012Windows6.0-KB2506146-x64.msu
3.03.03.0Windows Server 2008 SP26.0x86KB250614603/12/2012Windows6.0-KB2506146-x86.msu
1.04.03.0Windows Server 2008 R2 SP16.1x64KB281974528/05/2015Windows6.1-KB2819745-x64-MultiPkg.msu
1.05.0Windows Server 2008 R2 SP16.1x64KB306643908/09/2015Win7AndW2K8R2-KB3066439-x64.msu
3.03.03.0Windows Server 2008 R2 SP16.1x64KB250614303/12/2012Windows6.1-KB2506143-x64.msu
9689302.0Windows Server 20086.0x64KB96893022/02/2011Windows6.0-KB968930-x64.msu
9689302.0Windows Server 20086.0x86KB96893022/02/2011Windows6.0-KB968930-x86.msu
9689302.0Windows Server 20035.2x86KB96893026/10/2009WindowsServer2003-KB968930-x86-ENG.exe
9689302.0Windows Server 20035.2x64KB96893026/10/2009WindowsServer2003-KB968930-x64-ENG.exe
1.05.0Windows 8.1 Pro6.3x86KB306643708/09/2015Win8.1AndW2K12R2-KB3066437-x86.msu
1.05.0Windows 8.1 Pro6.3x64KB306643708/09/2015Win8.1AndW2K12R2-KB3066437-x64.msu
1.05.0Windows 8.1 Enterprise6.3x86KB306643708/09/2015Win8.1AndW2K12R2-KB3066437-x86.msu
1.05.0Windows 8.1 Enterprise6.3x64KB306643708/09/2015Win8.1AndW2K12R2-KB3066437-x64.msu
1.04.03.0Windows 7 SP16.1x64KB281974528/05/2015Windows6.1-KB2819745-x64-MultiPkg.msu
3.03.0Windows 7 SP16.1x86KB250614303/12/2012Windows6.1-KB2506143-x64.msu
1.05.0Windows 7 SP16.1x64KB306643908/09/2015Win7AndW2K8R2-KB3066439-x64.msu
3.03.0Windows 7 SP16.1x64KB250614303/12/2012Windows6.1-KB2506143-x64.msu
1.05.0Windows 7 SP16.1x86KB306643908/09/2015Win7AndW2K8R2-KB3066439-x86.msu
1.04.03.0Windows 7 SP16.1x86KB281974528/05/2015Windows6.1-KB2819745-x86-MultiPkg.msu
9689302.0Vista6.0x86KB96893022/02/2011Windows6.0-KB968930-x86.msu
9689302.0Vista6.0x64KB96893022/02/2011Windows6.0-KB968930-x64.msu
Table 1: Lists the MS Windows Management framework (WMF) versions with their associated KB article and compatible OS version.

I’d like to point out that this data pertains to upgrading a given OS to version X of WMF / PS and not the version that originally shipped with the OS. This information can be found here.

If, like me you’ve come across this post on serverfault.com, the OP seems to make the assumption that $PSVersionTable.WSManStackVersion  pertains to the true WMF version. As I write this on my Windows 7 box, with PS 4.0 installed, my results contradict this notion:

Using the above table, looking up OS “Windows 7 SP1 x64”, I see WMF 4.0 is installed with hotfix KB2819745, therefore, running:

returns:

I get the same results on a Windows Server 2012 R2 box that shipped with PS 4.0, so obviously there’s no hotfix for that.

However, I am not saying he is wrong as there appears to be no definitive way to determine WMF versions. At least MS don’t openly share this info with Google’s crawlers.

 

Please feel free to leave a comment...