Set-RASVDIDefaultSettings
Last updated
Last updated
Set-RASVDIDefaultSettings
Modifies default settings used to configure a host VM.
Set-RASVDIDefaultSettings [ (bool)] [- {Disabled | Enabled | EnabledWithAppRegistration}] [- {User | Device}] [ (uint)] [ (uint)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [ (bool)] [ (bool)] [ (string)] [ (bool)] [- {Disabled | ClientToServer | ServerToClient | Bidirectional}] [- {Administrators | RemoteDesktopUsers | RDUsers}] [ (bool)] [ (uint)] [- {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [- {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [ (uint)] [- {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [ (bool)] [ (bool)] [- {Disconnect | Logoff}] [ (uint)] [ (uint)] [ (bool)] [- {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [()]
Modifies default settings used to configure a host VM.
For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a parameter and its value.
Default settings are defined on a site level and are applied to a host VM when it is initially added to a site.
Site ID.
Remove assigned persistent desktop from user if not used (in seconds).
Possible values: User, Device
Specifies the 'User Profile Technology' value.
Possible values: DoNotManage, UPD, FSLogix, FSLogixProfileContainer
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).
Grant users RD permission.
Group type that will get RD premission.
Possible values: Administrators, RemoteDesktopUsers, RDUsers
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)
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 'Remove client name from printer name' option.
(CommonParameters)
-none-
-none-
**---------- EXAMPLE 1 ----------
Set-RASVDIDefaultSettings -ConnectionTimeoutSec 300
Modifies the default connection timeout.
() Set Assignment Type
() 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.