Vmsvc/power.getstate: Difference between revisions

(New page: ==== vimsh vmsvc/power.getstate ==== Usage: power.getstate vmid Retrieves the power state of the specified virtual machine. ====Example output==== For a machine that is powered on: [/]$...)
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


Retrieves the power state of the specified virtual machine.
Retrieves the power state of the specified virtual machine.
You can use [[vmsvc/getallvms]] to retrieve the vmid


====Example output====
====Example output====
Line 27: Line 29:
  Powered off
  Powered off


==== note ====
This command can be used to replace the old -obsolete- ESX CLI command:
vmware-cmd path.vmx getstate


[[Category: Vimsh]]
[[Category: Vimsh]]
1,274

edits