You can target the host directly from an administration server on which you installed vCLI, by using vMA, or by running scripts.

Open a command prompt on a Linux or Windows system on which you installed vCLI. Enter commands into that command prompt, specifying connection options. See Authenticating Directly to the Host.

Access the vMA Linux console. Set up target servers and run vCLI commands against the targets without additional authentication.

Prepare scripts that contain vCLI commands. Then run the scripts from a system that has the vCLI package installed or from the vMA Linux console. See Using vCLI Commands in Scripts.


Different command sets in the vCLI package require different connection options.

When you run commands against an ESXi host, you must be authenticated for that host.