Quantcast
Channel: Hyper-V WMI – Ravikanth Chaganti
Viewing all articles
Browse latest Browse all 22

Using GetSummaryInformation() method

$
0
0
GetSummaryInformation() method in the Msvm_VirtualSystemManagementService class gets data like guest OS type, uptime, heartbeat, etc, etc This method is documented here. This one takes SettingData and RequestedInformation as inputs and returns an embedded instance of Msvm_SummaryInformation as the output. I don’t know how to pass the settingdata and RequestedInformation in a proper way. I just used NULL for settingdata and an array of numbers as RequestedInformation. I am not an expert in WMI. So, please excuse my dumb VBScript. It serves the purpose though 🙂 Here is the script for your reference

Viewing all articles
Browse latest Browse all 22

Trending Articles