If you were aware of my most excellent friend Cristian Edwards’ Hyper-V and Failover Cluster Hotfix check script, then you’ve probably been wondering if there is an update to the xml files to cater for 2012 R2 Servers and Clusters. Well the good news is that the answer is yes. There’s actually been an update to the script too.
Cristian is a little busy at the moment though so I volunteered to create this blog so that you don't have to wait to get your hands the script.
Cristian's original Blog can be found here:
The updated script adds a little more intelligence and will check which build of the OS is being queried and check for the appropriate updates based on the result. The methodology for running the script remains the same though, you just need to ensure the xml files are located in the same directory as the ps1 script file.
You can download the script from the link at the bottom of the page… NB: The script was updated today (3rd June 2014) with KB2957018 so if you downloaded it prior to 03/06/2014 then you will need to download the zip file again.
There are two scripts:
There are three xml files that contain the hotfix data:
The first script (Check2012R2HyperVUpdates) accepts a Host name as a parameter so that you can run it on individual Hosts. The second script (CheckHyperVCluster2012R2Updates) accepts the Cluster name as a parameter and will check all the Hosts in the Cluster. So you can choose which script to run based on your requirements, the resulting output will be the same.
Check2012R2HyperVUpdates.ps1 HOSTNAME1, HOSTENAME2, HOSTNAME3
Hotfix Sources: There are a couple of articles that you can use to check for 2012 R2 Hotfixes for Hyper-V and Failover Clusters
List of Hotfixes for Hyper-V on Server 2012 R2 – http://social.technet.microsoft.com/wiki/contents/articles/20885.hyper-v-update-list-for-windows-server-2012-r2/rss.aspx
List of Server 2012 R2 Cluster Hotfixes – http://support.microsoft.com/kb/2920151