Restart VM

Restarts a virtual machine. This results in a "hard" restart, like powering the machine down, then back up again. This can result in data loss in the virtual machine.

Input Parameters

Name Type Required Description
VM Name String Yes Specifies the virtual machine to be restarted.

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 Switch1