reboot ESXi 5.1 from commandline

First, shutdown all your guests. Then put the host into maintenance mode:

~ # esxcli system maintenanceMode get
Disabled
~ # esxcli system maintenanceMode set -e on
~ # esxcli system maintenanceMode get
Enabled
~ # 

Do reboot:

~ # esxcli system shutdown reboot -r 'rebooting after patch'

Leave a Reply

Your email address will not be published. Required fields are marked *