I have a VHD that I suspect is a differencing disk. How can I know for certain, and if it is, then what parent VHD is it tied to?

link|improve this question

Could you define what you mean by "Differencing Disks", not really sure what you mean. – Sam Jan 6 '10 at 15:54
feedback

1 Answer

This is most easily done by writing a script that looks at the VHD through the WMI provider for virtual storage.

See:

http://msdn.microsoft.com/en-us/library/cc136974(VS.85).aspx

Look at the Msvm_VirtualHardDiskInfo values.

For examples scripts that deal with Hyper-V, and particularly the storage classes, see Ben Armstrong's blog:

http://blogs.msdn.com/virtual_pc_guy/default.aspx

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.