List Information for All VHDs

Retrieves information on a virtual hard disk, such as: Format, Type, and Parent Path.

Input Parameters

Name Type Required Description
Virtual Machine String Yes Specifies the virtual machine to retrieve all VHD information for.

Output Parameters

Name Type Description
VHD Format String Returns the format of the VHD as VHD or VHDX.
VHD Type String Returns the type of virtual hard disk as Fixed, Dynamic or Differencing.
Parent Path String Returns the path of the parent VHD.
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Virtual Machine Name String Yes Guest001