Q. How can I place my VMware ESX server in maintenance mode from the command line?

A. You can place a server in maintenance mode using the VI client, or you can do it from the command line:

vimsh -n -e /hostsvc/maintenance_mode_enter

You can exit maintenance mode using the command

vimsh -n -e /hostsvc/maintenance_mode_exit

Related Reading:

Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.