Export VM
This Automation Manager object exports a virtual machine to disk. This creates a folder at a specified location having three subfolders: Snapshots, Virtual Hard Disks, and Virtual
Machines. The Snapshots and Virtual Hard Disks folders contain the snapshots of and virtual hard disks of the specified virtual machine respectively. The
Virtual Machines folder contains the configuration XML of the specified virtual machine.
Input Parameters
VM Name |
String |
Yes |
Specifies the virtual machine to be exported. |
Export Path |
String |
Yes |
Specifies the path to the folder into which the virtual machine is to be exported. |
Output Parameters
Result |
Number |
Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Export All |
Checkbox |
No |
Optionally, you can export all Virtual Machines. |
VM Name |
String |
No |
Guest001 |
Export Path |
String |
Yes |
D:\Guest001 |