Running vCLI Host Management Commands

You can run vCLI host management commands from the command line of the system where you installed the package and from scripts.
Host management commands, which include ESXCLI and
vicfg-
commands, require at a minimum access to the target server to run the commands on. Users must authenticate to the host, and can only perform tasks that they are authorized to perform.
vicfg-
commands are deprecated. A deprecation note is displayed when you run these commands. You can use ESXCLI equivalents of
vicfg-
commands.
If an
system that you target is in lockdown mode, you cannot run vCLI commands against that system directly. You must target a
system that manages the
system and use the
--vihost
option to specify the
target. See vCLI and Lockdown Mode.
See Running DCLI Commands for information about DCLI commands, which you can use to manage
services.