# Set-RASAVDHostPool

### NAME

Set-RASAVDHostPool\ <br>

### SYNOPSIS

Modifies a Azure Virtual Desktop Host Pool.\ <br>

### SYNTAX

Set-RASAVDHostPool \[-[Id](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Id)] *\<uint>* \[-[AllowRemoteExec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AllowRemoteExec) *\<bool>*] \[-[AllowURLAndMailRedirection](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AllowURLAndMailRedirection) {Disabled | Enabled | EnabledWithAppRegistration}] \[-[AppMonitor](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AppMonitor) *\<bool>*] \[-[AutoScaleEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AutoScaleEnabled) *\<bool>*] \[-[DefaultLicenseType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DefaultLicenseType) {DoNotConfigure | WindowsClient | WindowsServer}] \[-[DefaultPowerState](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DefaultPowerState) {PoweredOn | PoweredOff | Suspended}] \[-[Description](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Description) *\<string>*] \[-[DisconnectActiveSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DisconnectActiveSessionAfter) *\<uint>*] \[-[DragAndDropMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DragAndDropMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[DrainRemains](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DrainRemains) *\<uint>*] \[-[Enabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Enabled) *\<bool>*] \[-[EnableDriveRedirectionCache](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#EnableDriveRedirectionCache) *\<bool>*] \[-[FileTransferLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferLocation) *\<string>*] \[-[FileTransferLockLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferLockLocation) *\<bool>*] \[-[FileTransferMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[HostName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#HostName) *\<string>*] \[-[InheritDefaultActionsSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultActionsSettings) *\<bool>*] \[-[InheritDefaultAgentSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultAgentSettings) *\<bool>*] \[-[InheritDefaultAppPackageSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultAppPackageSettings) *\<bool>*] \[-[InheritDefaultOptimizationSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultOptimizationSettings) *\<bool>*] \[-[InheritDefaultRDPPrinterSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultRDPPrinterSettings) *\<bool>*] \[-[InheritDefaultUserProfileSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultUserProfileSettings) *\<bool>*] \[-[LimitHosts](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LimitHosts) *\<uint>*] \[-[LoadBalancerType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LoadBalancerType) {BreadthFirst | DepthFirst | Persistent}] \[-[LogoffDisconnectedSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LogoffDisconnectedSessionAfter) *\<uint>*] \[-[ManageRDPShortpath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ManageRDPShortpath) *\<bool>*] \[-[ManageRDPTransportProtocol](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ManageRDPTransportProtocol) {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] \[-[MaxRDPShortpathPort](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MaxRDPShortpathPort) *\<uint>*] \[-[MaxServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MaxServersFromTemplate) *\<uint>*] \[-[MinRDPShortpathPort](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MinRDPShortpathPort) *\<uint>*] \[-[MinServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MinServersFromTemplate) *\<uint>*] \[-[NewName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#NewName) *\<string>*] \[-[OverwriteSize](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#OverwriteSize) *\<bool>*] \[-[PerformAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PerformAction) {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] \[-[PerformActionAfterSec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PerformActionAfterSec) *\<uint>*] \[-[PowerOnHost](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PowerOnHost) *\<bool>*] \[-[PrinterNameFormat](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PrinterNameFormat) {PrnFormat\_PRN\_CMP\_SES | PrnFormat\_SES\_CMP\_PRN | PrnFormat\_PRN\_REDSES}] \[-[RemoveClientNameFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveClientNameFromPrinterName) *\<bool>*] \[-[RemoveServersAfterDrainAndPowerOff](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveServersAfterDrainAndPowerOff) *\<bool>*] \[-[RemoveSessionNumberFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveSessionNumberFromPrinterName) *\<bool>*] \[-[ServersToAddPerRequest](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ServersToAddPerRequest) *\<uint>*] \[-[SessionAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SessionAction) {Disconnect | Logoff}] \[-[SessionReadinessTimeout](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SessionReadinessTimeout) *\<uint>*] \[-[SupportShellURLNamespaceObjects](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SupportShellURLNamespaceObjects) *\<bool>*] \[-[Technology](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Technology) {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] \[-[TemplateId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#TemplateId) *\<uint>*] \[-[TemplateVersionId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#TemplateVersionId) *\<uint>*] \[-[UseRDPShortpath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#UseRDPShortpath) *\<bool>*] \[-[UseSmallerPortRange](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#UseSmallerPortRange) *\<bool>*] \[-[ValidationEnvironment](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ValidationEnvironment) *\<bool>*] \[-[WorkLoadDrain](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#WorkLoadDrain) *\<uint>*] \[-[WorkloadThreshold](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#WorkloadThreshold) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#CommonParameters)*>*]\
\
Set-RASAVDHostPool \[-[InputObject](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InputObject)] *<*[*AVDHostPool*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AVDHostPool.html)*>* \[-[AllowRemoteExec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AllowRemoteExec) *\<bool>*] \[-[AllowURLAndMailRedirection](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AllowURLAndMailRedirection) {Disabled | Enabled | EnabledWithAppRegistration}] \[-[AppMonitor](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AppMonitor) *\<bool>*] \[-[AutoScaleEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AutoScaleEnabled) *\<bool>*] \[-[DefaultLicenseType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DefaultLicenseType) {DoNotConfigure | WindowsClient | WindowsServer}] \[-[DefaultPowerState](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DefaultPowerState) {PoweredOn | PoweredOff | Suspended}] \[-[Description](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Description) *\<string>*] \[-[DisconnectActiveSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DisconnectActiveSessionAfter) *\<uint>*] \[-[DragAndDropMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DragAndDropMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[DrainRemains](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DrainRemains) *\<uint>*] \[-[Enabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Enabled) *\<bool>*] \[-[EnableDriveRedirectionCache](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#EnableDriveRedirectionCache) *\<bool>*] \[-[FileTransferLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferLocation) *\<string>*] \[-[FileTransferLockLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferLockLocation) *\<bool>*] \[-[FileTransferMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[HostName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#HostName) *\<string>*] \[-[InheritDefaultActionsSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultActionsSettings) *\<bool>*] \[-[InheritDefaultAgentSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultAgentSettings) *\<bool>*] \[-[InheritDefaultAppPackageSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultAppPackageSettings) *\<bool>*] \[-[InheritDefaultOptimizationSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultOptimizationSettings) *\<bool>*] \[-[InheritDefaultRDPPrinterSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultRDPPrinterSettings) *\<bool>*] \[-[InheritDefaultUserProfileSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultUserProfileSettings) *\<bool>*] \[-[LimitHosts](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LimitHosts) *\<uint>*] \[-[LoadBalancerType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LoadBalancerType) {BreadthFirst | DepthFirst | Persistent}] \[-[LogoffDisconnectedSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LogoffDisconnectedSessionAfter) *\<uint>*] \[-[ManageRDPShortpath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ManageRDPShortpath) *\<bool>*] \[-[ManageRDPTransportProtocol](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ManageRDPTransportProtocol) {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] \[-[MaxRDPShortpathPort](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MaxRDPShortpathPort) *\<uint>*] \[-[MaxServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MaxServersFromTemplate) *\<uint>*] \[-[MinRDPShortpathPort](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MinRDPShortpathPort) *\<uint>*] \[-[MinServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MinServersFromTemplate) *\<uint>*] \[-[NewName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#NewName) *\<string>*] \[-[OverwriteSize](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#OverwriteSize) *\<bool>*] \[-[PerformAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PerformAction) {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] \[-[PerformActionAfterSec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PerformActionAfterSec) *\<uint>*] \[-[PowerOnHost](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PowerOnHost) *\<bool>*] \[-[PrinterNameFormat](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PrinterNameFormat) {PrnFormat\_PRN\_CMP\_SES | PrnFormat\_SES\_CMP\_PRN | PrnFormat\_PRN\_REDSES}] \[-[RemoveClientNameFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveClientNameFromPrinterName) *\<bool>*] \[-[RemoveServersAfterDrainAndPowerOff](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveServersAfterDrainAndPowerOff) *\<bool>*] \[-[RemoveSessionNumberFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveSessionNumberFromPrinterName) *\<bool>*] \[-[ServersToAddPerRequest](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ServersToAddPerRequest) *\<uint>*] \[-[SessionAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SessionAction) {Disconnect | Logoff}] \[-[SessionReadinessTimeout](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SessionReadinessTimeout) *\<uint>*] \[-[SupportShellURLNamespaceObjects](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SupportShellURLNamespaceObjects) *\<bool>*] \[-[Technology](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Technology) {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] \[-[TemplateId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#TemplateId) *\<uint>*] \[-[TemplateVersionId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#TemplateVersionId) *\<uint>*] \[-[UseRDPShortpath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#UseRDPShortpath) *\<bool>*] \[-[UseSmallerPortRange](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#UseSmallerPortRange) *\<bool>*] \[-[ValidationEnvironment](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ValidationEnvironment) *\<bool>*] \[-[WorkLoadDrain](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#WorkLoadDrain) *\<uint>*] \[-[WorkloadThreshold](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#WorkloadThreshold) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#CommonParameters)*>*]\
\
Set-RASAVDHostPool \[-[Name](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Name)] *\<string>* \[\[-[SiteId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SiteId)] *\<uint>*] \[-[AllowRemoteExec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AllowRemoteExec) *\<bool>*] \[-[AllowURLAndMailRedirection](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AllowURLAndMailRedirection) {Disabled | Enabled | EnabledWithAppRegistration}] \[-[AppMonitor](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AppMonitor) *\<bool>*] \[-[AutoScaleEnabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#AutoScaleEnabled) *\<bool>*] \[-[DefaultLicenseType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DefaultLicenseType) {DoNotConfigure | WindowsClient | WindowsServer}] \[-[DefaultPowerState](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DefaultPowerState) {PoweredOn | PoweredOff | Suspended}] \[-[Description](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Description) *\<string>*] \[-[DisconnectActiveSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DisconnectActiveSessionAfter) *\<uint>*] \[-[DragAndDropMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DragAndDropMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[DrainRemains](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#DrainRemains) *\<uint>*] \[-[Enabled](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Enabled) *\<bool>*] \[-[EnableDriveRedirectionCache](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#EnableDriveRedirectionCache) *\<bool>*] \[-[FileTransferLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferLocation) *\<string>*] \[-[FileTransferLockLocation](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferLockLocation) *\<bool>*] \[-[FileTransferMode](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#FileTransferMode) {Disabled | ClientToServer | ServerToClient | Bidirectional}] \[-[HostName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#HostName) *\<string>*] \[-[InheritDefaultActionsSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultActionsSettings) *\<bool>*] \[-[InheritDefaultAgentSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultAgentSettings) *\<bool>*] \[-[InheritDefaultAppPackageSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultAppPackageSettings) *\<bool>*] \[-[InheritDefaultOptimizationSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultOptimizationSettings) *\<bool>*] \[-[InheritDefaultRDPPrinterSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultRDPPrinterSettings) *\<bool>*] \[-[InheritDefaultUserProfileSettings](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#InheritDefaultUserProfileSettings) *\<bool>*] \[-[LimitHosts](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LimitHosts) *\<uint>*] \[-[LoadBalancerType](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LoadBalancerType) {BreadthFirst | DepthFirst | Persistent}] \[-[LogoffDisconnectedSessionAfter](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#LogoffDisconnectedSessionAfter) *\<uint>*] \[-[ManageRDPShortpath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ManageRDPShortpath) *\<bool>*] \[-[ManageRDPTransportProtocol](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ManageRDPTransportProtocol) {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] \[-[MaxRDPShortpathPort](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MaxRDPShortpathPort) *\<uint>*] \[-[MaxServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MaxServersFromTemplate) *\<uint>*] \[-[MinRDPShortpathPort](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MinRDPShortpathPort) *\<uint>*] \[-[MinServersFromTemplate](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#MinServersFromTemplate) *\<uint>*] \[-[NewName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#NewName) *\<string>*] \[-[OverwriteSize](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#OverwriteSize) *\<bool>*] \[-[PerformAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PerformAction) {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] \[-[PerformActionAfterSec](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PerformActionAfterSec) *\<uint>*] \[-[PowerOnHost](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PowerOnHost) *\<bool>*] \[-[PrinterNameFormat](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#PrinterNameFormat) {PrnFormat\_PRN\_CMP\_SES | PrnFormat\_SES\_CMP\_PRN | PrnFormat\_PRN\_REDSES}] \[-[RemoveClientNameFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveClientNameFromPrinterName) *\<bool>*] \[-[RemoveServersAfterDrainAndPowerOff](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveServersAfterDrainAndPowerOff) *\<bool>*] \[-[RemoveSessionNumberFromPrinterName](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#RemoveSessionNumberFromPrinterName) *\<bool>*] \[-[ServersToAddPerRequest](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ServersToAddPerRequest) *\<uint>*] \[-[SessionAction](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SessionAction) {Disconnect | Logoff}] \[-[SessionReadinessTimeout](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SessionReadinessTimeout) *\<uint>*] \[-[SupportShellURLNamespaceObjects](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#SupportShellURLNamespaceObjects) *\<bool>*] \[-[Technology](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#Technology) {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] \[-[TemplateId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#TemplateId) *\<uint>*] \[-[TemplateVersionId](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#TemplateVersionId) *\<uint>*] \[-[UseRDPShortpath](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#UseRDPShortpath) *\<bool>*] \[-[UseSmallerPortRange](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#UseSmallerPortRange) *\<bool>*] \[-[ValidationEnvironment](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#ValidationEnvironment) *\<bool>*] \[-[WorkLoadDrain](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#WorkLoadDrain) *\<uint>*] \[-[WorkloadThreshold](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#WorkloadThreshold) *\<uint>*] \[*<*[*CommonParameters*](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/cmdlets/Set-RASAVDHostPool.html#CommonParameters)*>*]\ <br>

### DESCRIPTION

Modifies properties of a Azure Virtual Desktop Host Pool.\
\
This is an Experimental feature which is subject to slight changes.\ <br>

### PARAMETERS

\
-**Id \<uint>**\
ID for which to modify the Azure Virtual Desktop Host Pool settings.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                0
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Name \<string>**\
The name of the target Azure Virtual Desktop Host Pool settings.\
\
This must be the actual Azure Virtual Desktop Host Pool name used in the RAS farm.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SiteId \<uint>**\
Site ID in which to modify the specified Azure Virtual Desktop Host Pool settings .\
\
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
```

\
-**InputObject <**[**AVDHostPool**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AVDHostPool.html)**>**\
An AVD Host Pool object (an object of type AVDHostPool) to modify.\
\
An AVDHostPool object representing a host pool is obtained using the Get-RASAVDHostPool cmdlet.\ <br>

```
        Required?                    true
```

```
        Position?                    0
```

```
        Default value                
```

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

```
        Accept wildcard characters?  false
```

\
-**NewName \<string>**\
The new name of the Azure Virtual Desktop Host Pool settings.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Description \<string>**\
The new description of the Azure Virtual Desktop Host Pool settings.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**Enabled \<bool>**\
Enable or disable the specified AVD Host Pool in a site.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**PowerOnHost \<bool>**\
Whether Power On Host is Enabled or not.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ValidationEnvironment \<bool>**\
Whether Validation Environment is Enabled or not.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**LimitHosts \<uint>**\
The Limit of session on host.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DefaultLicenseType <**[**AVDLicenseType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/AVDLicenseType.html)**>**\
The license type.\
\
Possible values: DoNotConfigure, WindowsClient, WindowsServer\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**LoadBalancerType <**[**LoadBalancerType**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/LoadBalancerType.html)**>**\
The Load Balancer Type of the Host Pool\
\
Possible values: BreadthFirst, DepthFirst, Persistent\ <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
```

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

\
-**SessionReadinessTimeout \<uint>**\
Session readiness timeout (in seconds). Accepted values: 20-3600 seconds.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AllowRemoteExec \<bool>**\
Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.\ <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'.\
\
Possible values: Disabled, Enabled, EnabledWithAppRegistration\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SupportShellURLNamespaceObjects \<bool>**\
Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.\ <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
```

\
-**DragAndDropMode <**[**DragAndDropModeValue**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/DragAndDropModeValue.html)**>**\
Specifies the mode the 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
```

\
-**FileTransferMode <**[**FileTransferControlMode**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/FileTransferControlMode.html)**>**\
Specifies if File Transfer option is allowed and if yes, which directions are allowed.\
\
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
```

\
-**EnableDriveRedirectionCache \<bool>**\
Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**SessionAction <**[**SessionAction**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/SessionAction.html)**>**\
Session Action\
\
Possible values: Disconnect, Logoff\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**PerformAction <**[**PerformAction**](https://download.parallels.com/ras/v19/docs/en_US/Parallels-RAS-v19-PowerShell-Guide/RASAdmin/types/PerformAction.html)**>**\
Perform Action\
\
Possible values: DoNothing, Shutdown, Suspend, Delete, Restart, Unassign, Recreate\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**PerformActionAfterSec \<uint>**\
Perform action after (in seconds)\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**TemplateId \<uint>**\
The Template ID.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

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

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AutoScaleEnabled \<bool>**\
Whether AutoScale is Enabled or not.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MinServersFromTemplate \<uint>**\
The Minimum Number of Hosts added to the template.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MaxServersFromTemplate \<uint>**\
The Maximum Number of Hosts added to the template.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**HostName \<string>**\
The Host 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>**\
The Workload Threshold.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ServersToAddPerRequest \<uint>**\
The amount of servers to add per request.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**WorkLoadDrain \<uint>**\
The Drain Workload.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**DrainRemains \<uint>**\
The Remaining Drain level.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**OverwriteSize \<bool>**\
The Remaining Drain level.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RemoveServersAfterDrainAndPowerOff \<bool>**\
Remove hosts from host pool after drain and power off.\ <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.\
\
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
```

\
-**RemoveSessionNumberFromPrinterName \<bool>**\
Specifies if 'Remove session number from printer name' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**RemoveClientNameFromPrinterName \<bool>**\
Specifies if 'Remove client name from printer name' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**AppMonitor \<bool>**\
Specifies if 'Allow Application Monitoring' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**ManageRDPShortpath \<bool>**\
Specifies if 'Allow RDP Shortpath' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UseRDPShortpath \<bool>**\
Specifies if 'Allow RDP Shortpath' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**UseSmallerPortRange \<bool>**\
Specifies if 'Use Smaller Port' option is enabled or disabled.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MinRDPShortpathPort \<uint>**\
The minimum RDP Shortpath Port.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**MaxRDPShortpathPort \<uint>**\
The maximum RDP Shortpath Port.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultAgentSettings \<bool>**\
If true, default AVD Agent settings will be inherited.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultUserProfileSettings \<bool>**\
If true, default User Profile settings will be inherited.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultAppPackageSettings \<bool>**\
If true, default Application Package settings will be inherited.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultOptimizationSettings \<bool>**\
If true, default Optimization settings will be inherited.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultActionsSettings \<bool>**\
If true, default Action settings will be inherited.\ <br>

```
        Required?                    false
```

```
        Position?                    named
```

```
        Default value                
```

```
        Accept pipeline input?       false
```

```
        Accept wildcard characters?  false
```

\
-**InheritDefaultRDPPrinterSettings \<bool>**\
If true, default Printing settings will be inherited.\ <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

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

### OUTPUTS

-none-

### EXAMPLES

\
\&#xNAN;**---------- EXAMPLE 1 ----------**\
\
Set-RASAVDHostPool -NewName NewHostPool\
\
Modifies the name of the Azure Virtual Desktop Host Pool.


---

# Agent Instructions: Querying This Documentation

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

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

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

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

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