Set-RASAVDHostPool
Last updated
Last updated
Set-RASAVDHostPool
Modifies a Azure Virtual Desktop Host Pool.
Set-RASAVDHostPool [] (uint)** [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [ (bool)] [ (bool)] [- {DoNotConfigure | WindowsClient | WindowsServer}] [- {PoweredOn | PoweredOff | Suspended}] [ (string)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (uint)] [ (uint)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (string)] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [- {BreadthFirst | DepthFirst | Persistent}] [ (bool)] [ (uint)] [ (bool)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [ (uint)] [ (uint)] [ (uint)] [ (uint)] [ (uint)] [ (bool)] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [ (bool)] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [- {Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [- {Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [- {h00 | h01 | h02 | h03 | h04 | h05 | h06 | h07 | h08 | h09 | h10 | h11 | h12 | h13 | h14 | h15 | h16 | h17 | h18 | h19 | h20 | h21 | h22 | h23}] [- {h00 | h01 | h02 | h03 | h04 | h05 | h06 | h07 | h08 | h09 | h10 | h11 | h12 | h13 | h14 | h15 | h16 | h17 | h18 | h19 | h20 | h21 | h22 | h23}] [ (uint)] [- {Disconnect | Logoff}] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [ (uint)] [ (uint)] [ (uint)] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (uint)] [ (uint)] [()]
Set-RASAVDHostPool [-] () [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [ (bool)] [ (bool)] [- {DoNotConfigure | WindowsClient | WindowsServer}] [- {PoweredOn | PoweredOff | Suspended}] [ (string)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (uint)] [ (uint)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (string)] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [- {BreadthFirst | DepthFirst | Persistent}] [ (bool)] [ (uint)] [ (bool)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [ (uint)] [ (uint)] [ (uint)] [ (uint)] [ (uint)] [ (bool)] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [ (bool)] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [- {Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [- {Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [- {h00 | h01 | h02 | h03 | h04 | h05 | h06 | h07 | h08 | h09 | h10 | h11 | h12 | h13 | h14 | h15 | h16 | h17 | h18 | h19 | h20 | h21 | h22 | h23}] [- {h00 | h01 | h02 | h03 | h04 | h05 | h06 | h07 | h08 | h09 | h10 | h11 | h12 | h13 | h14 | h15 | h16 | h17 | h18 | h19 | h20 | h21 | h22 | h23}] [ (uint)] [- {Disconnect | Logoff}] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [ (uint)] [ (uint)] [ (uint)] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (uint)] [ (uint)] [()]
Set-RASAVDHostPool []** (string) [[-] (uint)] [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [ (bool)] [ (bool)] [- {DoNotConfigure | WindowsClient | WindowsServer}] [- {PoweredOn | PoweredOff | Suspended}] [ (string)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (uint)] [ (uint)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (string)] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [- {BreadthFirst | DepthFirst | Persistent}] [ (bool)] [ (uint)] [ (bool)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [ (uint)] [ (uint)] [ (uint)] [ (uint)] [ (uint)] [ (bool)] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [ (bool)] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [- {Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [- {Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday}] [- {h00 | h01 | h02 | h03 | h04 | h05 | h06 | h07 | h08 | h09 | h10 | h11 | h12 | h13 | h14 | h15 | h16 | h17 | h18 | h19 | h20 | h21 | h22 | h23}] [- {h00 | h01 | h02 | h03 | h04 | h05 | h06 | h07 | h08 | h09 | h10 | h11 | h12 | h13 | h14 | h15 | h16 | h17 | h18 | h19 | h20 | h21 | h22 | h23}] [ (uint)] [- {Disconnect | Logoff}] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [ (uint)] [ (uint)] [ (uint)] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (uint)] [ (uint)] [()]
Modifies properties of a Azure Virtual Desktop Host Pool.
ID for which to modify the Azure Virtual Desktop Host Pool settings.
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.
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.
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.
The new Friendly Name of the Azure Virtual Desktop Host Pool settings.
The new description of the Azure Virtual Desktop Host Pool settings.
Enable or disable the specified AVD Host Pool in a site.
Whether Power On Host is Enabled or not.
Whether Validation Environment is Enabled or not.
The Limit of session on host.
Possible values: DoNotConfigure, WindowsClient, WindowsServer
Possible values: BreadthFirst, DepthFirst, Persistent
The Template ID.
Available to Templated Host Pools
The Template Version ID.
Available to Templated Host Pools
The Template Tag ID.
Available to Templated Host Pools
Specifies the 'User Profile Technology' value.
Possible values: DoNotManage, UPD, FSLogix, FSLogixProfileContainer
Disconnect active session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.
Logoff disconnected session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.
Session readiness timeout (in seconds). Accepted values: 20-3600 seconds.
Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.
Possible values: Disabled, Enabled, EnabledWithAppRegistration
Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.
Possible values: Disabled, BothUDPTCP, OnlyTCP, EitherUDPTCP
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
Location where the File Transfer takes place, if and where it is allowed.
Lock Location where the File Transfer takes place, if and where it is allowed.
Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.
Specifies if the 'Enable Z-Order' option is enabled or disabled. (Experimental)
Session Action
Possible values: Disconnect, Logoff
Perform Action
Possible values: DoNothing, Shutdown, Suspend, Delete, Restart, Unassign, Recreate
Perform action after (in seconds)
The maximum number of hosts that can be created from the template.
Available to Templated Personal Host Pools
The maximum number of pre-created hosts. (Keep available buffer)
Available to Templated Personal Host Pools
The duration (in seconds) before the unused hosts are deleted
Available to Templated Personal Host Pools
Whether AutoScale is Enabled or not.
Available to Templated Pooled Host Pools
The Minimum Number of Hosts added to the template.
The Maximum Number of Hosts added to the template.
The Workload Threshold.
The amount of servers to add per request.
The Drain Workload.
The Remaining Drain level.
Remove hosts from host pool after drain and power off.
The Host Name Format. All Host Names must adhere to this format : '{text}-%ID:{number}%'
Possible values: PoweredOn, PoweredOff, Suspended
Whether Overwrite Size is Enabled or not.
VMSize which will override the size specified in template properties.
Example: Standard_B2s
Possible values: PrnFormat_PRN_CMP_SES, PrnFormat_SES_CMP_PRN, PrnFormat_PRN_REDSES
Specifies if 'Remove session number from printer name' option is enabled or disabled.
Specifies if 'Remove client name from printer name' option is enabled or disabled.
Specifies if 'Enable applications monitoring' option is enabled or disabled.
Specifies if 'Allow RDP Shortpath' option is enabled or disabled.
Specifies if 'Allow RDP Shortpath' option is enabled or disabled.
Specifies if 'Use Smaller Port' option is enabled or disabled.
The minimum RDP Shortpath Port.
The maximum RDP Shortpath Port.
If true, default AVD Agent settings will be inherited.
If true, default User Profile settings will be inherited.
If true, default Application Package settings will be inherited.
If true, default Optimization settings will be inherited.
If true, default Action settings will be inherited.
If true, default Printing settings will be inherited.
If true, default Auto-upgrade settings will be inherited.
Whether to enable schedule agent updates.
Whether to use the local session time zone or not.
The Selected Time Zone Name
The First Schedule Day
Possible values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
The First Schedule Time
Possible values: h00, h01, h02, h03, h04, h05, h06, h07, h08, h09, h10, h11, h12, h13, h14, h15, h16, h17, h18, h19, h20, h21, h22, h23
Whether to enable a second schedule.
The Second Schedule Day
Possible values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
The Second Schedule Time
Possible values: h00, h01, h02, h03, h04, h05, h06, h07, h08, h09, h10, h11, h12, h13, h14, h15, h16, h17, h18, h19, h20, h21, h22, h23
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Set-RASAVDHostPool -Id 1 -NewName NewHostPool
Modifies the name of the AVD Host Pool with Id 1. **---------- EXAMPLE 2 ----------
Set-RASAVDHostPool -Name "AVDHostPoolName" -NewName NewHostPool
Modifies the name of the AVD Host Pool with Name AVDHostPoolName.
() The license type.
() The Load Balancer Type of the Host Pool
() Specifies the 'Allow Client URL/Mail Redirection'.
() Manage RDP transport protocol.
() Specifies the mode the drag and drop feature will operate.
() Specifies if File Transfer option is allowed and if yes, which directions are allowed.
() The Default Power State
() Specifies the 'Printer Name Format' option.