If you need to put a host in maintenance mode and only have access through ESXi Tech Support Mode, either local from DCUI or remote with SSH, in the following quick post I’ll show you how to do it using
Put the host in maintenance mode:
Check the state of the host.
Get the ESXi out of maintenance mode.
This procedure works in ESXi 4.x and ESXi 5.