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?
Asked
Active
Viewed 627 times
2
-
Could you define what you mean by "Differencing Disks", not really sure what you mean. – Sam Cogan Jan 06 '10 at 15:54
1 Answers
2
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:

Jake Oshins
- 5,146
- 18
- 15