Set-RASVDIHostPool
Last updated
Last updated
Set-RASVDIHostPool
Modifies a VDI Host Pool.
Set-RASVDIHostPool [] (uint)** [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [- (List`1)] [- (string[])] [- {Template | Selection}] [- {PoweredOn | PoweredOff | Suspended}] [ (string)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (uint)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- {Administrators | RemoteDesktopUsers | RDUsers}] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [ (uint)] [ (string)] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [- {Disconnect | Logoff}] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [ (uint)] [ (uint)] [ (uint)] [ (string)] [()]
Set-RASVDIHostPool [-] () [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [- (List`1)] [- (string[])] [- {Template | Selection}] [- {PoweredOn | PoweredOff | Suspended}] [ (string)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (uint)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- {Administrators | RemoteDesktopUsers | RDUsers}] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [ (uint)] [ (string)] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [- {Disconnect | Logoff}] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [ (uint)] [ (uint)] [ (uint)] [ (string)] [()]
Set-RASVDIHostPool []** (string) [[-] (uint)] [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [- (List`1)] [- (string[])] [- {Template | Selection}] [- {PoweredOn | PoweredOff | Suspended}] [ (string)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (uint)] [ (bool)] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- {Administrators | RemoteDesktopUsers | RDUsers}] [ (string)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (bool)] [ (uint)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [ (uint)] [ (string)] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [- {Disconnect | Logoff}] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [ (uint)] [ (uint)] [ (uint)] [ (string)] [()]
Modifies properties of a VDI Host Pool.
The name of the target VDI Host Pool.
This must be the actual VDI Host Pool name used in the RAS farm.
Site ID in which to modify the specified VDI Host Pool.
If the parameter is omitted, the site ID of the Licensing Server will be used.
The ID of the VDIHostPool to modify. To obtain the ID, use the Get-RASVDIHostPool cmdlet.
The VDI Host Pool to modify.
To obtain an object of type VDIHostPool representing a VDI Host Pool, use the Get-RASVDIHostPool cmdlet.
The new name of the target VDI Host Pool.
A user-defined VDI Host Pool description.
Enable or disable the specified VDI Host Pool in a site.
Template ID, 0 = None
Template Version ID
Template Tag ID
The maximum number of hosts that can be created from the template.
The maximum pre-created hosts that can be created.
The VM name format. All VMs created from the template will have this name with %ID:N:S% replaced.
Possible values: PoweredOn, PoweredOff, Suspended
The Duration
A user-defined VDI Host Pool wildcard.
Enable or disable the 'Inherit default Action settings' option. This will inherit Global Action settings from the default profile.
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.
Session change state.
Possible values: Disconnect, Logoff
Perform action on session change.
Possible values: DoNothing, Shutdown, Suspend, Delete, Restart, Unassign, Recreate
Perform action after (in seconds).
Enable or disable the 'Inherit default user profile settings' option. This will inherit VDI 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.
Specifies the 'User Profile Technology' value.
Possible values: DoNotManage, UPD, FSLogix, FSLogixProfileContainer
If true, default app package settings will be inherited.
Enable or disable the 'Inherit default Optimization Settings' option. This will inherit Image Optimization settings from the default profile.
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.
If true, default VDI Agent settings will be inherited.
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.
Possible values: Disabled, Enabled, EnabledWithAppRegistration
Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.
Possible values: Disabled, BothUDPTCP, OnlyTCP, EitherUDPTCP
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)
Enable or disable the 'Inherit default RDP 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.
Possible values: PrnFormat_PRN_CMP_SES, PrnFormat_SES_CMP_PRN, PrnFormat_PRN_REDSES
Enable or disable the 'Remove session number from printer name' option.
Enable or disable the 'Inherit default Security settings' option. This will inherit Global Security settings from the default profile.
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.
Grant users RD permission.
Group type that will get RD premission.
Possible values: Administrators, RemoteDesktopUsers, RDUsers
Enable or disable the 'Inherit default Auto-upgrade Settings' option. This will inherit Auto-upgrade settings from the default profile.
If you would like to specify custom settings, you need to disable this option and specify the desired parameters.
Add or remove Amazon Web Service Subnets.
Possible values: Template, Selection
Datastore IDs.
(CommonParameters)
-none-
**---------- EXAMPLE 1 ----------
Set-RASVDIHostPool "My VDI Host Pool" -Enabled $False
Disables the VDI Host Pool specified by name. **---------- EXAMPLE 2 ----------
Set-RASVDIHostPool -Id 10 -Enabled $False
Disables the VDI Host Pool specified by ID. **---------- EXAMPLE 3 ----------
Set-RASVDIHostPool $VDIHostPool -Enabled $False
Disables the VDI Host Pool specified by the $VDIHostPool variable (an object of type VDIHostPool). **---------- EXAMPLE 4 ----------
Get-RASVDIHostPool -Id 10 | Set-RASVDIHostPool -Enabled $False
Disables the VDI Host Pool obtained from the pipeline output.
() The Default Power State
() Specifies the 'Allow Client URL/Mail Redirection'.
() Specifies the mode the drag and drop feature will operate.
() Manage RDP transport protocol.
() Specifies if File Transfer option is allowed and if yes, which directions are allowed.
() Specifies the 'Printer Name Format' option. Accepted values: PrnFormat_PRN_CMP_SES, PrnFormat_SES_CMP_PRN, PrnFormat_PRN_REDSES.
() Datastore Source.