< Back
Connect-NIServer
Post
NAME Connect-NIServer
SYNOPSIS
Connects to the Network Insight Service on the VMware Cloud Services
Platform and constructs a connection object.
SYNTAX
Connect-NIServer [-RefreshToken] <String> [<CommonParameters>]
DESCRIPTION
The Connect-NIServer cmdlet returns a connection object that contains
an authentication token which the rest of the cmdlets in this module
use to perform authenticated REST API calls.
The connection object contains the Cloud Services Platform token, the expiry
datetime that the token expires and the NI server address.
The RefreshToken can be found in your profile, here:
https://console.cloud.vmware.com/csp/ga ... ser/tokens
PARAMETERS
-RefreshToken <String>
The Refresh Token from your VMware Cloud Services Portal
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-NIServer -RefreshToken xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Connect to the VMware Cloud Services Portal with your specified Refresh Token.
The cmdlet will connect to the CSP, validate the token and will return an
access token. Returns the connection object, if successful.
RELATED LINKS
SYNOPSIS
Connects to the Network Insight Service on the VMware Cloud Services
Platform and constructs a connection object.
SYNTAX
Connect-NIServer [-RefreshToken] <String> [<CommonParameters>]
DESCRIPTION
The Connect-NIServer cmdlet returns a connection object that contains
an authentication token which the rest of the cmdlets in this module
use to perform authenticated REST API calls.
The connection object contains the Cloud Services Platform token, the expiry
datetime that the token expires and the NI server address.
The RefreshToken can be found in your profile, here:
https://console.cloud.vmware.com/csp/ga ... ser/tokens
PARAMETERS
-RefreshToken <String>
The Refresh Token from your VMware Cloud Services Portal
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-NIServer -RefreshToken xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Connect to the VMware Cloud Services Portal with your specified Refresh Token.
The cmdlet will connect to the CSP, validate the token and will return an
access token. Returns the connection object, if successful.
RELATED LINKS