Get-RdsTenantGroup

Gets tenant groups that are authorized for the user.

Syntax

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.

Type:String
Aliases:TenantGroupName
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String

Outputs

Microsoft.RDInfra.RDManagementData.RdMgmtTenantGroup