Name | Type | Description | Required? | Pipeline Input | Default Value |
---|
Credential | PSCredential | Specifies a PSCredential object that contains credentials for authenticating with the server. For more information about the server authentication logic of PowerCLI, run "help about_server_authentication". | false | false |
InformationAction | ActionPreference | | false | false |
InformationVariable | String | | false | false |
NotDefault | SwitchParameter | Specifies that you do not want to save the specified servers as default servers. | false | false |
Password | String | Specifies the password you want to use for authenticating with the server. If the Credential parameter is also specified, this parameter is ignored. For more information about the server authentication logic of PowerCLI, run "help about_server_authentication".
Note: If the password contains special characters, enclose the entire string in single quotes ('). | false | false |
PipelineVariable | String | | false | false |
SaveCredentials | SwitchParameter | Indicates that you want to save the specified credentials in the local credential store. | false | false |
Server | String[] | Specifies the IP or DNS addresses of the vCloud Air servers you want to connect to. If not specified, the default server address is used. | false | false |
User | String | Specifies the user name you want to use for authenticating with the server. If the Credential parameter is also specified, this parameter is ignored. For more information about the server authentication logic of PowerCLI, run "help about_server_authentication".
Note: If the user name contains special characters, enclose the entire string in single quotes ('). | false | false |
VCA | SwitchParameter | If specified, a connection to the vCloud Air platform (vca.vmware.com) is established. If not specified, a connection to the vCloud Hybrid Service platform (vchs.vmware.com) is established. | false | false |
-------------- Example 1 --------------
Connect-PIServer -User '[email protected]' -Password 'user_password'
Connects to the vCloud Hybrid Service (vCHS) platform by providing a user name and password.
-------------- Example 2 --------------
Connect-PIServer -VCA -User '[email protected]' -Password 'user_password'
Connects to the vCloud Air platform by providing a user name and password.