Set-RASVDIDefaultSettings
SYNOPSIS
Modifies default settings used to configure a host VM.
SYNTAX
Set-RASVDIDefaultSettings [-AllowRemoteExec <bool>]
[-AllowURLAndMailRedirection {Disabled | Enabled | EnabledWithAppRegistration}]
[-AssignmentType {User | Device}] [-AutoRemovePersIfNotUsedAfterSec <uint>]
[-DisconnectActiveSessionAfter <uint>]
[-DragAndDropMode {Disabled | ClientToServer | ServerToClient | Bidirectional}]
[-DriveRedirectionFileCache {None | ReadAhead | ReadAheadWriteBehind}]
[-EnableAppMonitoring <bool>] [-EnableDriveRedirectionCache <bool>] [-EnableZOrder <bool>]
[-FileTransferAutoCloseWindow <bool>]
[-FileTransferExistingFileMode {CreateNewFile | OverwriteExistingFile}]
[-FileTransferLocation <string>] [-FileTransferLockLocation <bool>]
[-FileTransferMode {Disabled | ClientToServer | ServerToClient | Bidirectional}]
[-FileTransferSuppressPromptForUploadFiles <bool>]
[-GroupType {Administrators | RemoteDesktopUsers}] [-IsUsersGrantedRDPermissions <bool>]
[-LogoffDisconnectedSessionAfter <uint>]
[-ManageRDPTransportProtocol {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}]
[-PerformAction {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}]
[-PerformActionAfterSec <uint>]
[-PrinterNameFormat {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}]
[-RemoveClientNameFromPrinterName <bool>] [-RemoveSessionNumberFromPrinterName <bool>]
[-SessionAction {Disconnect | Logoff}] [-SessionReadinessTimeout <uint>] [-SiteId <uint>]
[-SupportShellURLNamespaceObjects <bool>]
[-Technology {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [<CommonParameters>]DESCRIPTION
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.
EXAMPLES
Example 1
Modifies the default connection timeout.
PARAMETERS
-SiteId
Site ID.
-AutoRemovePersIfNotUsedAfterSec
Remove assigned persistent desktop from user if not used (in seconds).
-AssignmentType
Set Assignment Type
Possible values: User, Device
Type reference: HostAssignmentType
-Technology
Specifies the 'User Profile Technology' value.
Possible values: DoNotManage, UPD, FSLogix, FSLogixProfileContainer
Type reference: UserProfileTech
-SessionAction
Session change state.
Possible values: Disconnect, Logoff
Type reference: SessionAction
-PerformAction
Perform action on session change.
Possible values: DoNothing, Shutdown, Suspend, Delete, Restart, Unassign, Recreate
Type reference: PerformAction
-PerformActionAfterSec
Perform action after (in seconds).
-IsUsersGrantedRDPermissions
Grant users RD permission.
-GroupType
Group type that will get RD premission.
Possible values: Administrators, RemoteDesktopUsers
Type reference: UserGroupType
-DisconnectActiveSessionAfter
Disconnect active session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.
-LogoffDisconnectedSessionAfter
Logoff disconnected session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.
-SessionReadinessTimeout
Session readiness timeout (in seconds). Accepted values: 20-3600 seconds.
-AllowURLAndMailRedirection
Specifies the 'Allow Client URL/Mail Redirection'.
Possible values: Disabled, Enabled, EnabledWithAppRegistration
Type reference: AllowURLAndMailRedirection
-SupportShellURLNamespaceObjects
Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.
-DragAndDropMode
Specifies the mode the drag and drop feature will operate.
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
Type reference: DragAndDropModeValue
-AllowRemoteExec
Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.
-ManageRDPTransportProtocol
Manage RDP transport protocol.
Possible values: Disabled, BothUDPTCP, OnlyTCP, EitherUDPTCP
Type reference: ManageRDPTransportProtocol
-EnableAppMonitoring
Specifies if 'Application Monitoring' option is enabled or disabled.
-FileTransferMode
Specifies if File Transfer option is allowed and if yes, which directions are allowed.
Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional
Type reference: FileTransferControlMode
-FileTransferLocation
Location where the File Transfer takes place, if and where it is allowed.
-FileTransferLockLocation
Lock Location where the File Transfer takes place, if and where it is allowed.
-FileTransferSuppressPromptForUploadFiles
Specifies if the 'Suppress prompt for upload files' option is enabled or disabled.
-FileTransferExistingFileMode
Specifies the behavior when a file with the same name already exists in the destination folder during file transfer.
Possible values: CreateNewFile, OverwriteExistingFile
Type reference: FileTransferExistingFileMode
-FileTransferAutoCloseWindow
Specifies if the "Close transfer window when complete" option is enabled or disabled.
-EnableDriveRedirectionCache
Specifies if the 'Enable Drive Redirection Cache' option is enabled or disabled.
-DriveRedirectionFileCache
Specifies the 'File Cache' mode to be used with drive redirection.
Possible values: None, ReadAhead, ReadAheadWriteBehind
Type reference: DriveRedirectionFileCacheMode
-EnableZOrder
Specifies if the 'Enable Z-Order' option is enabled or disabled. (Experimental)
-PrinterNameFormat
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
Type reference: PrnNameFormat
-RemoveSessionNumberFromPrinterName
Enable or disable the 'Remove session number from printer name' option.
-RemoveClientNameFromPrinterName
Enable or disable the 'Remove client name from printer name' option.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated