For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get-RASRDSHostPoolMember

SYNOPSIS

Retrieves member information for an RD Session Host Pool.

SYNTAX

Get-RASRDSHostPoolMember [-HostPoolId] <uint> [<CommonParameters>]
Get-RASRDSHostPoolMember [-HostPoolObject] <RDSHostPool> [<CommonParameters>]
Get-RASRDSHostPoolMember [-HostPoolName] <string> [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Retrieves the list of RD Session Host servers, which are members of a specified host pool.

It returns an arrays of objects of type RDS, each containing properties of an RD Session Host server.

To see the complete list of object properties, use the Format-List cmdlet (see examples).

EXAMPLES

Example 1

Get-RASRDSHostPoolMember "My RD Session Host Pool" | Format-List

Retrieves the list of RD Session Host servers from the host pool specified by name.

The Format-List cmdlet formats the display output to include all available server properties.

Example 2

Retrieves the list of RD Session Host servers from the host pool specified by the $RDSHostPool variable.

The $RDSHostPool variable is an object of type RDSHostPool, which is obtained using the Get-RASRDSHostPool cmdlet.

Example 3

Retrieves the list of servers from the host pool obtained from the pipeline output.

PARAMETERS

-HostPoolName

The name of a host pool from which to retrieve server information.

-SiteId

Site ID where the host pool is located.

If the parameter is omitted, the site ID of the Licensing Server will be used.

-HostPoolId

The ID of the RDS Group representing a RD Session Host server group.

-HostPoolObject

An object of type RDSHostPool representing a RD Session Host Pool.

The object is obtained using the Get-RASRDSHostPool cmdlet.

Type reference: RDSHostPool

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

RDSHostPool

OUTPUTS

RDSHost

Last updated