Shutdown VMware VM
This objects gracefully shuts down a running VM. If the Operating System does not have VMware Tools installed or if they are not running and communicating with the VMware host, the VM will not be shutdown.
Before using this VMware Automation Manager Object, you must install the PowerShell module VMware.PowerCLI.
This VMware Automation Object runs on 64-bit PowerShell, and the module must also be added to 64-bit PowerShell.
Before using this VMware Automation Manager Object, you must install PowerShell 5.0.
|Session ID||String||Yes||This is the session ID that is generated by the VMware connection object.
This is required for this object to work.
|Virtual Machine Name||String||Yes||This is the name of the virtual machine about which you want to get information.
The field supports wildcards, so to return information about all virtual machines, use "*" as the value.
|Current Power State||String||This output parameter will output the state of the virtual machine as the object was being requested to perform the action.|
|Result||Number||Returns a success value of zero or any value other than zero to indicate failure.|
|Result String||String||Object execution error details.|
Example Input Parameters
|Virtual Machine Name||String||Yes||SRVExchange