Get-RdsContext
Gets the metadata used to authenticate Windows Virtual Desktop requests.
Syntax
Get-RdsContext
[-DeploymentUrl <String>]
[<CommonParameters>]
Description
The Get-RdsContext cmdlet gets the current metadata used to authenticate Windows Virtual Desktop requests. This cmdlet gets the deployment URL, tenant group, and user name.
Examples
Example 1: Get the current context
PS C:\> Get-RdsContext
DeploymentUrl TenantGroupName UserName
------------- --------------- --------
https://rdbroker.wvd.microsoft.com Default Tenant Group admin@contoso.com
Parameters
-DeploymentUrl
The Universal Resource Locator (URL) string pointing to the Windows Virtual Dekstop management site.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.RDInfra.RDManagementData.RdMgmtContext