Edit

Share via


Get-RdsAppGroup

Gets the properties of an app group.

Syntax

Default (Default)

Get-RdsAppGroup
    [-TenantName] <String>
    [-HostPoolName] <String>
    [-Name <String>]
    [<CommonParameters>]

Description

The Get-RdsAppGroup cmdlet gets the properties of the specified app group. If you do not specify an app group name, this cmdlet returns properties for all app groups in the specified hostpool.

Examples

Example 1: Get all app groups in the specified host pool

PS C:\> Get-RdsAppGroup -TenantName "contoso" -HostPoolName "contosoHostPool"

TenantGroupName : Default Tenant Group
TenantName      : contoso
HostPoolName    : contosoHostPool
AppGroupName    : Desktop Application Group
Description     : The default desktop application group for the session host pool
FriendlyName    : Desktop Application Group
ResourceType    : Desktop

TenantGroupName : Microsoft Internal
TenantName      : contoso
HostPoolName    : contosoHostPool
AppGroupName    : officeApps
Description     : RemoteApp group for Office applications
FriendlyName    :
ResourceType    : RemoteApp

This command gets the properties of all app groups in the specified tenant and host pool that are authorized for the current user.

Example 2: Get a specific app group

PS C:\> Get-RdsAppGroup -TenantName "contoso" -HostPoolName "contosoHostPool" -Name "Desktop Application Group"

TenantGroupName : Default Tenant Group
TenantName      : contoso
HostPoolName    : contosoHostPool
AppGroupName    : Desktop Application Group
Description     : The default desktop application group for the session host pool
FriendlyName    : Desktop Application Group
ResourceType    : Desktop

This command gets the properties of the specified app group in the host pool. The app group and its properties are displayed only if the app group exists in the host pool and the current user is properly authorized.

Parameters

-HostPoolName

The name of the host pool.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-Name

The name of the app group.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AppGroupName

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-TenantName

The name of the tenant.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
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.

Inputs

System.String

Outputs

Microsoft.RDInfra.RDManagementData.RdMgmtAppGroup