List Information for All VHDs
Retrieves information on a virtual hard disk, such as: Format, Type, and Parent Path.
Input Parameters
Virtual Machine |
String |
Yes |
Specifies the virtual machine to retrieve all VHD information for. |
Output Parameters
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
Virtual Machine Name |
String |
Yes |
Guest001 |