Determine Hyper-V VM Architecture
I need a way to programmatically determine (via WMI or other alternative) whether or not a Hyper-V VM is running a 64-bit OS or not. I can't necessarily use Win32_OperatingSystem on the VM's because there is no way of determining whether or not the
VM's security will allow access.
The closest thing I have found is the "GuestOperatingSystem" property of the Msvm_SummaryInformation class, but it does not seem to differentiate 64-bit from not.
June 8th, 2011 9:55am