Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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