To run cmdlets on a vCloud Air server and perform administration or monitoring tasks, you must establish a connection to the server. You can connect to the server of either the vCloud Air or vCloud Hybrid Service platform.

You can have more than one connection to the same server. For more information, see Managing Default Server Connections.

If your login credentials contain non-alphanumeric characters, you might need to escape them. For more information, see Providing Login Credentials.

If you use a proxy server for the connection, verify that it is configured properly, so that the connection is kept alive long enough for tasks to finish.

Note

If you do not want to use a proxy server for the connection, run Set-PowerCLIConfiguration -ProxyPolicy NoProxy.

Run Connect-PIServer with valid credentials.

To connect to the vCloud Air platform, run the following command.

Connect-PIServer -VCA -User 'MyAdministratorUser' -Password 'MyPassword'

To connect to the vCloud Hybrid Service platform, run the following command.

Connect-PIServer -User 'MyAdministratorUser' -Password 'MyPassword'
Note

This command establishes a connection to the default vCloud Air server. You can connect to another server by specifying the Server parameter.