Set-RdsContext
Sets the tenant group context for subsequent Windows Virtual Desktop cmdlets.
Set-RdsContext
[-TenantGroupName] <String>
[<CommonParameters>]
The Set-RdsContext cmdlet sets the tenant group context for subsequent RDS PowerShell cmdlets. This context is only valid for the duration of the PowerShell session or until another Set-RdsContext is run. If not specified after running Add-RdsAccount, “Default Tenant Group” will be used.
PS C:\> Set-RdsContext -TenantGroupName "contosoTenantGroup"
This command sets the context to use the specified tenant group.
The name of the tenant group.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
System.String
Microsoft.RDInfra.RDManagementData.RdMgmtContext