List information about a VM
vimsh -n -e “vmsvc/getallvms”
See a summary of the current host configuration
vimsh -n -e “hostsvc/hostsummary”
Enter maintence mode
vimsh -n -e /hostsvc/maintenance_mode_enter
Exit maintence mode
vimsh -n -e /hostsvc/maintenance_mode_exit