Export VM

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

Name Type Required Description
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

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Export All Checkbox No Optionally, you can export all Virtual Machines.
VM Name String No Guest001
Export Path String Yes D:\Guest001