> 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/v19/parallels-ras-powershell-admin-module/commands/new-rasrdshostpool.md).

# New-RASRDSHostPool

### NAME

New-RASRDSHostPool\ <br>

### SYNOPSIS

Creates a new RD Session Host Pool.\ <br>

### SYNTAX

New-RASRDSHostPool \[-[Name](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#Name)] *\<string>* \[\[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#SiteId)] *\<uint>*] \[-[AllowDragAndDrop](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#AllowDragAndDrop) *\<bool>*] \[-[AllowFileTransfer](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#AllowFileTransfer) *\<bool>*] \[-[AllowRemoteExec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#AllowRemoteExec) *\<bool>*] \[-[AllowURLAndMailRedirection](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#AllowURLAndMailRedirection) {Disabled | Enabled | EnabledWithAppRegistration}] \[-[Autoscale](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#Autoscale) *\<bool>*] \[-[DefaultPowerState](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#DefaultPowerState) {PoweredOn | PoweredOff | Suspended}] \[-[Description](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#Description) *\<string>*] \[-[DisconnectActiveSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#DisconnectActiveSessionAfter) *\<uint>*] \[-[DragAndDropMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#DragAndDropMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[DrainRemainsBelowSec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#DrainRemainsBelowSec) *\<uint>*] \[-[EnableAppMonitoring](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#EnableAppMonitoring) *\<bool>*] \[-[ExcludeFilePath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#ExcludeFilePath) *\<string\[]>*] \[-[ExcludeFolderPath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#ExcludeFolderPath) *\<string\[]>*] \[-[FileTransferLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#FileTransferLocation) *\<string>*] \[-[FileTransferLockLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#FileTransferLockLocation) *\<bool>*] \[-[FileTransferMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#FileTransferMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[HostName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#HostName) *\<string>*] \[-[HostsToCreate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#HostsToCreate) *\<uint>*] \[-[IncludeFilePath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#IncludeFilePath) *\<string\[]>*] \[-[IncludeFolderPath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#IncludeFolderPath) *\<string\[]>*] \[-[InheritDefaultAgentSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#InheritDefaultAgentSettings) *\<bool>*] \[-[InheritDefaultDesktopAccessSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#InheritDefaultDesktopAccessSettings) *\<bool>*] \[-[InheritDefaultPrinterSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#InheritDefaultPrinterSettings) *\<bool>*] \[-[InheritDefaultUserProfileSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#InheritDefaultUserProfileSettings) *\<bool>*] \[-[LogoffDisconnectedSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#LogoffDisconnectedSessionAfter) *\<uint>*] \[-[ManageRDPTransportProtocol](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#ManageRDPTransportProtocol) {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] \[-[MaxServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#MaxServersFromTemplate) *\<uint>*] \[-[MaxSessions](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#MaxSessions) *\<uint>*] \[-[MaxUserProfileDiskSizeGB](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#MaxUserProfileDiskSizeGB) *\<uint>*] \[-[MinServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#MinServersFromTemplate) *\<uint>*] \[-[Port](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#Port) *\<uint>*] \[-[PreferredBrokerId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#PreferredBrokerId) *\<uint>*] \[-[PreferredBrokerObj](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#PreferredBrokerObj) *<*[*Broker*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Broker.html)*>*] \[-[PrinterNameFormat](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#PrinterNameFormat) {PrnFormat\_PRN\_CMP\_SES | PrnFormat\_SES\_CMP\_PRN | PrnFormat\_PRN\_REDSES}] \[-[RASTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RASTemplate) *<*[*Template*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Template.html)*>*] \[-[RASTemplateId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RASTemplateId) *\<uint>*] \[-[RASTemplateVersionId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RASTemplateVersionId) *\<uint>*] \[-[RDSIds](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RDSIds) *\<uint\[]>*] \[-[RDSObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RDSObject) *<*[*RDSHost\[\]*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHost.html)*>*] \[-[RemoveClientNameFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RemoveClientNameFromPrinterName) *\<bool>*] \[-[RemoveServersAfterDrainAndPowerOff](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RemoveServersAfterDrainAndPowerOff) *\<bool>*] \[-[RemoveSessionNumberFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RemoveSessionNumberFromPrinterName) *\<bool>*] \[-[RestrictDesktopAccess](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RestrictDesktopAccess) *\<bool>*] \[-[RestrictedUsers](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#RestrictedUsers) *\<string\[]>*] \[-[ServersToAddPerRequest](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#ServersToAddPerRequest) *\<uint>*] \[-[SupportShellURLNamespaceObjects](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#SupportShellURLNamespaceObjects) *\<bool>*] \[-[Technology](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#Technology) {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] \[-[UPDiskPath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#UPDiskPath) *\<string>*] \[-[UPDMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#UPDMode) {DoNotChange | Enabled | Disabled}] \[-[UPDRoamingMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#UPDRoamingMode) {Exclude | Include}] \[-[UseRemoteApps](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#UseRemoteApps) *\<bool>*] \[-[WorkLoadThreshold](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#WorkLoadThreshold) *\<uint>*] \[-[WorkLoadToDrain](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#WorkLoadToDrain) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/New-RASRDSHostPool.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Creates a new RD Session Host Pool. Individual servers can be added to the host pool using the Move-RASRDSHostPoolMember cmdlet.\ <br>

### PARAMETERS

\
-**Name \<string>**\
Host pool name.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SiteId \<uint>**\
Site ID in which to create the host pool.\
\
If the parameter is omitted, the site ID of the Licensing Server will be used.\ <br>

```
        Required?                    false
```

```
        Position?                    1
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Description \<string>**\
A description of the specified host pool.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Autoscale \<bool>**\
Enable Autoscaling.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                False
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RASTemplate <**[**Template**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Template.html)**>**\
The RD RAS Template object.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RASTemplateId \<uint>**\
The RDSH RAS Template ID.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RASTemplateVersionId \<uint>**\
The RDSH RAS Template Version ID.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MinServersFromTemplate \<uint>**\
Min number of servers to be added to the host pool from the RAS Template.\
\
Default: 1\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                1
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MaxServersFromTemplate \<uint>**\
Max number of servers to be added to the host pool from the RAS Template.\
\
Default: 2\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                2
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HostName \<string>**\
The host name format. All hosts created from the template will have this name with %ID:N:S% replaced.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DefaultPowerState <**[**DefaultPowerState**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/DefaultPowerState.html)**>**\
The Default Power State\
\
Possible values: PoweredOn, PoweredOff, Suspended\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                PoweredOn
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HostsToCreate \<uint>**\
The number of hosts that will be created after template creation process has finished. These desktops are created only once.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**WorkLoadThreshold \<uint>**\
Send a request to the RAS template when the workload threshold is above the specified value.\
\
Default: 75\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                75
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ServersToAddPerRequest \<uint>**\
Number of servers to be added to the host pool per request.\
\
Default: 1\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                1
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**WorkLoadToDrain \<uint>**\
Drain and power off servers within host pool when workload is below the specified value.\
\
Default: 20\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                20
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DrainRemainsBelowSec \<uint>**\
Drain and power off servers from host pool when workload remains below the specified level for the below specified time (in seconds).\
\
Default: 0 (Immediate)\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RemoveServersAfterDrainAndPowerOff \<bool>**\
Remove servers from host pool after drain and power off.\ <br>

```
        Required?                    false
```

```
        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 host pool.\
\
A RDS object representing a RD Session Host server is obtained using the Get-RDS cmdlet.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RDSIds \<uint\[]>**\
A list of RD Session Host servers (an array of RDS Ids) to add to the host pool.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultAgentSettings \<bool>**\
Enable or disable the 'Inherit default agent settings' option. This will inherit Global agent settings from the default profile.\
\
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultPrinterSettings \<bool>**\
Enable or disable the 'Inherit default printer settings' option. This will inherit Global printer settings from the default profile.\
\
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultUserProfileSettings \<bool>**\
Enable or disable the 'Inherit default user profile settings' option. This will inherit Global User Profile settings from the default profile.\
\
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultDesktopAccessSettings \<bool>**\
Enable or disable the 'Inherit default desktop access settings' option. This will inherit Global Desktop Access settings from the default profile.\
\
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Port \<uint>**\
Specifies the port number for the RD Session Host agent.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MaxSessions \<uint>**\
Specifies the 'Maximum Sessions' property.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DisconnectActiveSessionAfter \<uint>**\
Disconnect active session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**LogoffDisconnectedSessionAfter \<uint>**\
Logoff disconnected session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllowURLAndMailRedirection <**[**AllowURLAndMailRedirection**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AllowURLAndMailRedirection.html)**>**\
Specifies the 'Allow Client URL/Mail Redirection' option. Accepted values: Disabled, Enabled, EnabledWithAppRegistration (Enable with app registration).\
\
Possible values: Disabled, Enabled, EnabledWithAppRegistration\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SupportShellURLNamespaceObjects \<bool>**\
Enable or disable the 'Support Shell URL Namespace Objects' option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**PreferredBrokerObj <**[**Broker**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/Broker.html)**>**\
The preferred Connection Broker.\
\
To obtain an object of type Broker representing the preferred Connection Broker, use the Get-RASBroker cmdlet.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**PreferredBrokerId \<uint>**\
The preferred Connection Broker.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllowRemoteExec \<bool>**\
Enable or disable the 'Allow 2XRemoteExec to send command to the client' option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**EnableAppMonitoring \<bool>**\
Enable or disable the 'Application Monitoring' option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UseRemoteApps \<bool>**\
Enable or disable the 'Use RemoteApps if available' option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllowFileTransfer \<bool>**\
Deprecated: use FileTransferMode instead.\
\
Enable or disable the 'Allow file transfer' option. (deprecated)\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**FileTransferMode <**[**FileTransferControlMode**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FileTransferControlMode.html)**>**\
File Transfer option. Possible values are: 0 (Disabled), 1 (client to Server only), 2 {Server To Client only), 3 (Bidirectional).\
\
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**FileTransferLocation \<string>**\
Location where the File Transfer takes place, if and where it is allowed.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**FileTransferLockLocation \<bool>**\
Lock Location where the File Transfer takes place, if and where it is allowed.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllowDragAndDrop \<bool>**\
Enable or disable the 'Allow local to remote drag and drop' option. (deprecated)\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DragAndDropMode <**[**DragAndDropModeValue**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/DragAndDropModeValue.html)**>**\
Specifies the mode the client server drag and drop feature will operate.\
\
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ManageRDPTransportProtocol <**[**ManageRDPTransportProtocol**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/ManageRDPTransportProtocol.html)**>**\
Manage RDP transport protocol.\
\
Possible values: Disabled, BothUDPTCP, OnlyTCP, EitherUDPTCP\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**PrinterNameFormat <**[**PrnNameFormat**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PrnNameFormat.html)**>**\
Specifies the 'Printer Name Format' option. Accepted values: PrnFormat\_PRN\_CMP\_SES, PrnFormat\_SES\_CMP\_PRN, PrnFormat\_PRN\_REDSES.\
\
Possible values: PrnFormat\_PRN\_CMP\_SES, PrnFormat\_SES\_CMP\_PRN, PrnFormat\_PRN\_REDSES\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RemoveClientNameFromPrinterName \<bool>**\
Enable or disable the 'Remove client name from printer name' option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RemoveSessionNumberFromPrinterName \<bool>**\
Enable or disable the 'Remove session number from printer name' option.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Technology <**[**UserProfileTech**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UserProfileTech.html)**>**\
Specifies the 'User Profile Technology' value.\
\
Possible values: DoNotManage, UPD, FSLogix, FSLogixProfileContainer\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UPDMode <**[**UPDMode**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UPDMode.html)**>**\
Specifies the 'User Profile Disk Mode' option. Accepted values: DoNotChange, Enabled, Disabled.\
\
Possible values: DoNotChange, Enabled, Disabled\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UPDRoamingMode <**[**UPDRoamingMode**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/UPDRoamingMode.html)**>**\
Specifies the 'UPD Roaming Mode' option. Accepted values: Exclude, Include.\
\
Possible values: Exclude, Include\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UPDiskPath \<string>**\
Specifies the User Profile Disk path.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MaxUserProfileDiskSizeGB \<uint>**\
Specifies the max user profile disk size (in GB).\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**IncludeFolderPath \<string\[]>**\
Specifies the UPD 'Include' folder paths.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**IncludeFilePath \<string\[]>**\
Specifies the UPD 'Include' file paths.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ExcludeFolderPath \<string\[]>**\
Specifies the UPD 'Exclude' folder paths.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ExcludeFilePath \<string\[]>**\
Specifies the UPD 'Exclude' file paths.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RestrictDesktopAccess \<bool>**\
Enable or disable the 'Restrict direct desktop access to the following users' option.\
\
Use the RestrictedUsers parameter to specify the list of users.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RestrictedUsers \<string\[]>**\
Specifies the list of users for the RestrictDesktopAccess option (the option should be enabled).\
\
The list can contain user account names and user SIDs.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

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

-none-

### OUTPUTS

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

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
New-RASRDSHostPool "My RDS Host Pool"\
\
Creates a new RD Session Host Pool with the specified name.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v19/parallels-ras-powershell-admin-module/commands/new-rasrdshostpool.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
