Category Archives: Hyper-V

Microsoft Hyper-V 2012 R2 patches and hotfixes

A key update viewed in many eyes for any Hyper-V environment.

Released back in April 2015, a new security vulnerability has been discovered which could result in a denial of service to a virtual machine running in Hyper-V. Even thou this may not impact other running virtual machines this could affect manageability of the underlying hosts.

The following Microsoft KB provides further info and patch information. https://support.microsoft.com/en-us/kb/3047234

As per best practice, it best to ensure your Hyper-V environment’s have been fully patched with all the latest hot fixes and patches. The following articles should be used as guidance on what to install.

https://support.microsoft.com/en-us/kb/2920151

http://social.technet.microsoft.com/wiki/contents/articles/20885.hyper-v-update-list-for-windows-server-2012-r2.aspx

Advertisements

How many VM’s are running in Hyper-V cluster?

Common question asked by many admins, How many virtual machines are running in my Hyper-V cluster? This quick one line powershell cmd queries the cluster object for all VM’s and gathers some key usage configuration information and exports to CSV for easy reading.

Run this command on any Hyper-V node in the cluster. Tested on Microsoft Windows Server 2012 R2

Get-ClusterGroup | ? {$_.GroupType -eq 'VirtualMachine' } | Get-VM | ft VMName, State, ProcessorCount,@{label="MemoryStartup(GB)";Expression={$_.MemoryStartup/1024/1024}},DynamicMemoryEnabled |out-file C:\hvlist.csv