You can stop, reboot, and examine hosts with ESXCLI or with vicfg-hostops.You can shut down or reboot an ESXi host using the vSphere Web Client or vCLI commands (ESXCLI or vicfg-hostops).Shutting down a managed host disconnects it from the vCenter Server system, but does not remove the host from the inventory. You can shut down a single host or all hosts in a data center or cluster. Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of <conn_options>.To shut down a host, run esxcli system shutdown poweroff. You must specify the --reason option and supply a reason for the shutdown. A --delay option allows you to specify a delay interval, in seconds.To reboot a host, run system shutdown reboot. You must specify the --reason option and supply a reason for the shutdown. A --delay option allows you to specify a delay interval, in seconds.You can shut down or reboot an ESXi host using the vSphere Web Client, or ESXCLI or the vicfg-hostops vCLI command.Shutting down a managed host disconnects it from the vCenter Server system, but does not remove the host from the inventory. You can shut down a single host or all hosts in a data center or cluster. Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of <conn_options>.
■
■ If the host is in maintenance mode, run the command without the --force option.
■ If the host is not in maintenance mode, use --force to shut down the host and all running virtual machines.
■ All hosts in data center or cluster. To shut down all hosts in a cluster or data center, specify --cluster or --datacenter.
■
■ If the host is in maintenance mode, run the command without the --force option.
■ If the host is not in maintenance mode, use --force to shut down the host and all running virtual machines.
■ All hosts in data center or cluster. You can specify --cluster or --datacenter to reboot all hosts in a cluster or data center.