Syntax
Connect-PIServer [-Server <String[]>] [-Credential <PSCredential>] [-User <String>] [-Password <String>] [-NotDefault] [-SaveCredentials] [-VCA] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet establishes a connection to the default vCloud Air server (vchs.vmware.com or vca.vmware.com) or the server specified by the -Server parameter.Parameters
Return Type
VMware.VimAutomation.PCloud.Types.V1.PIServerNotes
Examples
-------------- Example 1 --------------
Connect-PIServer -User 'user@mail.com' -Password 'user_password'
Connects to the vCloud Hybrid Service (vCHS) platform by providing a user name and password.
-------------- Example 2 --------------
Connect-PIServer -VCA -User 'user@mail.com' -Password 'user_password'
Connects to the vCloud Air platform by providing a user name and password.