Putting the Host in Maintenance Mode from ESXi Shell

http://jreypo.wordpress.com/2011/08/17/put-esxi-server-in-maintenance-mode-from-tech-support-mode-using-vim-cmd/

VIM-CMD hostsvc/Maintenance_Mode_Enter

VIM-CMD hostsvc/Maintenance_Mode_Exit

VIM-CMD hostsvc/HostSummary | egrep "inMain"
0