Msvm_ImageManagementService.GetVirtualHarddiskInfo()

by admin on March 14, 2008
163 Views

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.

Related Posts

  • No related posts found

{ 2 comments… read them below or add one }

Henry forrester June 5, 2009 at 7:13 am

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?

ravikanthchaganti June 8, 2009 at 2:49 pm

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 }

Leave a Comment

Previous post:

Next post: