connect

Establishes a session with the
or ESX/
Web service by using the token provided in a previously saved session file, or by using the user name and password provided using the command line, environment variables, or a configuration file.

Parameters

Parameter
Description
user_name
User account on the ESX/
or
system.
password
Password for the user account.
session_file
Full path and filename for the token saved from a previous successful connection. Use
session_file
(instead of
user_name
and
password
) to reestablish a session to the same server or to establish a new connection to a different server.

Returns

Returns nothing.