Syntax
Connect-Vmc -Menu [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet establishes a connection to a VMware Cloud on AWS server. Only Open Authorization (OAuth) is supported and a refresh token retrieves an access token, which later makes calls to the server.Parameters
Return Type
VMware.VimAutomation.Vmc.Types.V1.VmcServerNotes
Examples
-------------------------- Example 1 --------------------------
Connect-Vmc -RefreshToken $myRefreshToken
Connects to a VMware Cloud on AWS server.
-------------------------- Example 2 --------------------------
Connect-Vmc -RefreshToken $script:refreshToken -SaveRefreshToken
Connects to a VMware Cloud on AWS server by specifying the related secure connection token and saving it for later usage.