esxcli system maintenanceMode set
CautionMaintenance mode (ESXi)
esxcli system maintenanceMode set -e true
Enters/exits ESXi maintenance mode; standard before patching.
Examples
esxcli system maintenanceMode set -e trueEnter maintenance mode
Syntax
esxcli system maintenanceMode set -e true|false
Before you run it
Requires VMs evacuated/stopped; affects production.
Used when you see
Evacuating VMs for host maintenance
2
See the whole flow →Put ESXi into maintenance modeConfirm capacity and compatibility at the destination first.
Related commands
- esxcli vm process listList/kill VMs on ESXi
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store