# Set-RASRDSHostPool

### NAME

Set-RASRDSHostPool\ <br>

### SYNOPSIS

Modifies an RD Session Host Pool.\ <br>

### SYNTAX

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

### DESCRIPTION

Modifies properties of an RD Session Host Pool.\ <br>

### PARAMETERS

\
-**Name \<string>**\
The name of the host pool to modify.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SiteId \<uint>**\
Site ID where the target host pool is located.\
\
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
```

\
-**Id \<uint>**\
The ID of a RD Session Host Pool to modify.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InputObject <**[**RDSHostPool**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/RDSHostPool.html)**>**\
A RD Session Host Pool object (an object of type RDSHostPool) to modify.\
\
A RDSHostPool object representing a group is obtained using the Get-RASRDSHostPool cmdlet.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

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

```
        Accept wildcard characters?  false
```

\
-**Enabled \<bool>**\
Enable or disable the specified host pool(s) in a site.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**NewName \<string>**\
A new name to assign to the specified host pool.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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 or disable Autoscaling.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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 RDSH 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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HostName \<string>**\
The VM name format. All VMs 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                
```

```
        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.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**WorkLoadToDrain \<uint>**\
Drain and unassign servers from host pool when workload is below the specified value.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

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

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

\
-**AutoPreferredBroker \<SwitchParameter>**\
Set the 'Preferred Connection Broker' option to 'Automatically".\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                False
```

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

\
-**EnableDriveRedirectionCache \<bool>**\
Enable or disable the 'Enable Drive Redirection Cache' option.\ <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.\ <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

[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 ----------**\
\
Set-RASRDSHostPool "My RD Session Host Pool" -Enabled $False\
\
Disables the RD Session Host Pool specified by name.\
\&#xNAN;**---------- EXAMPLE 2 ----------**\
\
Set-RASRDSHostPool -Id 11 -Enabled $False\
\
Disables the RD Session Host Pool specified by ID.\
\&#xNAN;**---------- EXAMPLE 3 ----------**\
\
Set-RASRDSHostPool $RDSHostPool -Enabled $False\
\
Disables the RD Session Host Pool specified by the $RDSHostPool variable (an object of type RDSHostPool).\
\
To obtain an RDSHostPool object representing a host pool, use the Get-RASRDSHostPool cmdlet.\
\&#xNAN;**---------- EXAMPLE 4 ----------**\
\
Get-RASRDSHostPool -Id 11 | Set-RASRDSHostPool -Enabled $False\
\
Disables the RD Session Host Pool obtained from the pipeline output.
