10-11-2007 9:14
janiquec
Scripts That Identify Differencing Disks (and their hierarchy)
Posted VB scripts that allow the identification of differencing disks and parent disk chaining hierarchy.
GetVHDParentInfo.vbs- A script that helps you quickly determine whether a VHD is a differencing disk and its dependencies. The script takes a single command line parameter in the form of a path to a VHD file, determines if the VHD is a differencing disk, and then displays the differencing disk VHD hierarchy in a inverted tree format.
ListDiffDisks.vbs - A script that allows you to enumerate all the virtual machines on a Virtual Server host and determine which ones have associated differencing disks. Once a differencing disk is identified, the hierarchy of dependencies is determined and displayed as an inverted tree from the child disk to the root parent disk.
Filed under: Virtualization, Virtual Server, Virtual Machine, Virtual Hard Disk, Virtual Server 2005 R2 SP1