Hello,
Because lost of disk storage space is sometime lost on CSV volumes by orphan VHDs, in my hyperv 2012 and 2012R2 clusters, I am trying to retrieve for a given Hyper-V Guest, its storage devices and type. For differencing disks, I am trying to retrieve its parent like in SCVMM Hardware properties.
Using WMI queries, I can retrieve guests, storage config including vhd path but not vhd type and its eventual parent.
I found a wmi class under root\virtualization\v2 called Msvm_VirtualHardDiskSettingData that should do the link but querying the class, no instance is listed.
Why WMI ? well, I am writting a suite of documenting tools that query hyperv hosts and gather config without powershell exec. (running on linux and/or windows)
Or any other WMI Class to query to grab VHD namespace, type and parent VHD ?
Thanks for inputs...
Th