Retrieve the OAuth token for the current data source used by the running Remote Desktop Manager process.
Get-RDMOAuthToken [<CommonParameters>]
Retrieve the OAuth token for the current data source used by the running Remote Desktop Manager process. This cmdlet is supported only when connected to Devolutions Server or Devolutions Hub Business.
PS C:\> $token = Get-RDMOAuthToken
PS C:\> Get-RDMDataSource -Name 'SameAsRdmInstance' | Set-RDMCurrentDataSource -OAuthToken $token
Retrieve the OAuth token for the current data source used by the running Remote Desktop Manager process. Use that token to connect in the same context in the PowerShell context.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
For more information, type "Get-Help Get-RDMOAuthToken -detailed". For technical information, type "Get-Help Get-RDMOAuthToken -full".