Get-RdsTenantGroup
Gets tenant groups that are authorized for the user.
Syntax
Default (Default)
Get-RdsTenantGroup
[-Name <String>]
[<CommonParameters>]
Description
The Get-RdsTenantGroup cmdlet gets tenant groups that are authorized for the user. If you do not specify a tenant group, this cmdlet returns all tenants groups authorized for the current user.
Examples
Example 1: Get a specific tenant group
PS C:\> Get-RdsTenantGroup -Name "Contoso Tenant Group"
TenantGroupName Description FriendlyName
--------------- ----------- ------------
Contoso Tenant Group
This command gets the specified tenant group in the current context. The tenant group is displayed only if the tenant exists in the current context and the current user is properly authorized.
Parameters
-Name
The name of the tenant group.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | TenantGroupName |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
CommonParameters
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.