Vmsvc/get.managedentitystatus

From VI-Toolkit

vimsh vmsvc/get.managedentitystatus

Usage: get.managedentitystatus vmid

Show the status for the virtual machine.

You can use vmsvc/getallvms to retrieve the vmid

example output

[/]$ vmsvc/get.managedentitystatus 4400
green