■ Open a command prompt on a Linux or Windows system on which you installed vCLI. Enter commands into that command prompt, specifying connection options.
■ 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 remote administration server that has the vCLI package installed or from the vMA Linux console. See Using vCLI Commands in Scripts.When you run commands against an ESXi host, you must be authenticated for that host. When you run commands against a vCenter Server system, and you are authenticated for that system, you can target all ESXi hosts that vCenter Server manages without additional authentication. See Specifying Authentication Information.
Caution If you specify passwords in plain text, you risk exposing the password to other users. The password might also become exposed in backup files. Do not provide plain-text passwords on production systems.
■ If you use a vCLI command interactively and do not specify a user name and password, you are prompted for them. The screen does not echo the password you type.
■ For noninteractive use, you can create a session file using the save_session script included in the apps/session directory. See Using a Session File.
■ If you are running on a Windows system, you can use the - -passthroughauth option. If the user who runs the command with that option is known, no password is required.If you are running vMA, you can set up target servers and run most vCLI commands against target servers without additional authentication. See the vSphere Management Assistant Guide.