I couldn’t think of a better title than this for the post. I want to write about a limitation with this WMI interface. This method can be used to get the information pertaining to a VHD under Hyper-V. This, when used, queries Msvm_VirutalDiskInfo class and returns a single large string containing the information about the VHD.
Output on your system will look something like
instance of Msvm_VirtualHardDiskInfo {Type = 3;FileSize = 2405406208;MaxInternalSize = 32212254720;InSavedState = TRUE;InUse = FALSE;};
This is not the exact embedded instance of Msvm_VirutalDiskInfo. You will have to parse the above string manually to get the required information.

{ 2 comments… read them below or add one }
This is a great wp theme – did you do it yourself? If not, could you let me know who did? I’d be interested. Perhaps you would be interested in making me one for my blog?
Thanks. This one is a Blog Oh Blog v2 theme. I modified the right side bar quite a bit to suit my needs.
http://www.eblogtemplates.com/blog-oh-blog-20-2/
{ 1 trackback }