> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasrdshostpoolmember.md).

# Get-RASRDSHostPoolMember

## SYNOPSIS

Retrieves member information for an RD Session Host Pool.

## SYNTAX

```powershell
Get-RASRDSHostPoolMember [-HostPoolId] <uint> [<CommonParameters>]
```

```powershell
Get-RASRDSHostPoolMember [-HostPoolObject] <RDSHostPool> [<CommonParameters>]
```

```powershell
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

```powershell
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

```powershell
Get-RASRDSHostPoolMember $RDSHostPool
```

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

```powershell
Get-RASRDSHostPool "My RD Session Host Pool" | Get-RASRDSHostPoolMember
```

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.

```yaml
Type: string
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SiteId

Site ID where the host pool is located.

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

```yaml
Type: uint
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -HostPoolId

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

```yaml
Type: uint
Required: True
Position: 0
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -HostPoolObject

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

The object is obtained using the Get-RASRDSHostPool cmdlet.

Type reference: [RDSHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/rdshostpool.md)

```yaml
Type: RDSHostPool
Required: True
Position: 0
Default value: None
Accept pipeline input: true (ByValue)
Accept wildcard characters: False
```

### 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](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### [RDSHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/rdshostpool.md)

## OUTPUTS

### [RDSHost](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/rdshost.md)

## RELATED LINKS

* [Get-RASRDSHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasrdshostpool.md)
* [Move-RASRDSHostPoolMember](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/move-rasrdshostpoolmember.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasrdshostpoolmember.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
