# Move-RASRDSHostPoolMember

### NAME

Move-RASRDSHostPoolMember\ <br>

### SYNOPSIS

Moves one or multiple RD Session Host servers to a host pool.\ <br>

### SYNTAX

Move-RASRDSHostPoolMember \[-[HostPoolId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#HostPoolId)] *\<uint>* \[-[RDSIds](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#RDSIds)] *\<uint\[]>* \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#CommonParameters)*>*]\
\
Move-RASRDSHostPoolMember \[-[HostPoolName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#HostPoolName)] *\<string>* -[RDSObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#RDSObject) *<*[*RDSHost\[\]*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHost.html)*>* \[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#SiteId) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#CommonParameters)*>*]\
\
Move-RASRDSHostPoolMember \[-[HostPoolName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#HostPoolName)] *\<string>* -[RDSServer](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#RDSServer) *\<string>* \[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#SiteId) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#CommonParameters)*>*]\
\
Move-RASRDSHostPoolMember \[-[HostPoolObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#HostPoolObject)] *<*[*RDSHostPool*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHostPool.html)*>* -[RDSObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#RDSObject) *<*[*RDSHost\[\]*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHost.html)*>* \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#CommonParameters)*>*]\
\
Move-RASRDSHostPoolMember \[-[HostPoolObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#HostPoolObject)] *<*[*RDSHostPool*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHostPool.html)*>* -[RDSServer](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#RDSServer) *\<string>* \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Move-RASRDSHostPoolMember.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Moves one or multiple RD Session Host servers to an existing host pool.\ <br>

### PARAMETERS

\
-**HostPoolName \<string>**\
RD Session Host Pool name.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SiteId \<uint>**\
Site ID where the RD Session Host Pool is located.\
\
If the parameter is omitted, the site ID of the Licensing Server will be used.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HostPoolId \<uint>**\
The ID of the target RD Session Host Pool.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HostPoolObject <**[**RDSHostPool**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHostPool.html)**>**\
An object of type RDS Group identifying the target RD Session Host Pool.\
\
The object is obtained using the Get-RASRDSHostPool cmdlet.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       true (ByValue)
```

```
        Accept wildcard characters?  false
```

\
-**RDSServer \<string>**\
The name of a RD Session Host server to add to the group.\ <br>

```
        Required?                    true
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RDSObject <**[**RDSHost\[\]**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHost.html)**>**\
A list of RD Session Host servers (an array of objects of type RDS) to add to the group.\
\
A RDS object representing a RD Session Host server is obtained using the Get-RDS cmdlet.\ <br>

```
        Required?                    true
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RDSIds \<uint\[]>**\
The IDs of RD Session Host servers to be added to the specified group.\ <br>

```
        Required?                    true
```

```
        Position?                    1
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
\<CommonParameters>

```
        This cmdlet supports the common parameters: Verbose, Debug,
```

```
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
```

```
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
```

```
        about_CommonParameters . 
```

<br>

### INPUTS

[RDSHostPool](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHostPool.html)

### OUTPUTS

-none-

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Move-RASRDSHostPoolMember "My RD Session Host Pool" -RDSServer "server.company.dom"\
\
Moves the specified RD Session Host server to the specified host pool.\
\&#xNAN;**---------- EXAMPLE 2 ----------**\
\
Move-RASRDSHostPoolMember "My RD Session Host Pool" -RDSObject $RDSList\
\
Moves a list of RD Session Host servers ($RDSList) to the specified host pool.\
\
The $RDSList variable is an array of objects of type RDS. An RDS object representing an RD Session Host server is obtained using the Get-RASRDSHost cmdlet.\
\&#xNAN;**---------- EXAMPLE 3 ----------**\
\
Move-RASRDSHostPoolMember $RDSHostPool -RDSServer "server.company.dom"\
\
Moves the specified RD Session Host server to the host pool specified by the $RDSHostPool variable.\
\
$RDSHostPool is an object of type RDSHostPool, which is obtained using the Get-RASRDSHostPool cmdlet.\
\&#xNAN;**---------- EXAMPLE 4 ----------**\
\
Get-RASRDSHostPool "My RD Session Host Pool" | Move-RASRDSHostPoolMember -RDSServer "server.company.dom"\
\
Moves the specified RD Session Host server to the host pool obtained from the pipeline output.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/commands/move-rasrdshostpoolmember.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
