Move VM Storage Path

Moves the storage of a virtual machine.

Input Parameters

Name Type Required Description
VM Name String Yes Specifies the name of the virtual machine whose storage is to be moved.
Destination Path String No Specifies a destination storage path to which all virtual machine storage is to be moved.
Snapshot File Path String No Specifies the new path for any snapshot files associated with the virtual machine.
Smart Paging File Path String No Specifies the new path to use for a smart paging file, if one is needed.
Virtual Machine Path String No Specifies the path to the virtual machine configuration file and associated memory files.
Keep Copy on Source Boolean No Keep any parent virtual hard disks on the source computer. If not specified, all virtual hard disks will be removed from the source computer once the virtual machine is successfully moved.

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
VM Name String Yes Guest001
Move To Radio Button Yes Same folder
Destination Path String Yes C:\path
Snapshot File Path String No C:\snapshotpath
Smart Paging File Path String No C:\spfpath
Keep Copy on Source Boolean No True