Set-RASVDIDefaultSettings

NAME

Set-RASVDIDefaultSettings

SYNOPSIS

Modifies default settings used to configure a host VM.

SYNTAX

Set-RASVDIDefaultSettings [-AllowRemoteExecarrow-up-right <bool>] [-AllowURLAndMailRedirectionarrow-up-right {Disabled | Enabled | EnabledWithAppRegistration}] [-AssignmentTypearrow-up-right {User | Device}] [-AutoRemovePersIfNotUsedAfterSecarrow-up-right <uint>] [-DisconnectActiveSessionAfterarrow-up-right <uint>] [-DragAndDropModearrow-up-right {Disabled | ClientToServer | ServerToClient | Bidirectional}] [-EnableDriveRedirectionCachearrow-up-right <bool>] [-FileTransferLocationarrow-up-right <string>] [-FileTransferLockLocationarrow-up-right <bool>] [-FileTransferModearrow-up-right {Disabled | ClientToServer | ServerToClient | Bidirectional}] [-GroupTypearrow-up-right {Administrators | RemoteDesktopUsers | RDUsers}] [-IsUsersGrantedRDPermissionsarrow-up-right <bool>] [-LogoffDisconnectedSessionAfterarrow-up-right <uint>] [-ManageRDPTransportProtocolarrow-up-right {Disabled | BothUDPTCP | OnlyTCP | EitherUDPTCP}] [-PerformActionarrow-up-right {DoNothing | Shutdown | Suspend | Delete | Restart | Unassign | Recreate}] [-PerformActionAfterSecarrow-up-right <uint>] [-PrinterNameFormatarrow-up-right {PrnFormat_PRN_CMP_SES | PrnFormat_SES_CMP_PRN | PrnFormat_PRN_REDSES}] [-RemoveClientNameFromPrinterNamearrow-up-right <bool>] [-RemoveSessionNumberFromPrinterNamearrow-up-right <bool>] [-SessionActionarrow-up-right {Disconnect | Logoff}] [-SessionReadinessTimeoutarrow-up-right <uint>] [-SiteIdarrow-up-right <uint>] [-SupportShellURLNamespaceObjectsarrow-up-right <bool>] [-Technologyarrow-up-right {DoNotManage | UPD | FSLogix | FSLogixProfileContainer}] [<CommonParametersarrow-up-right>]

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.

PARAMETERS

-SiteId <uint> Site ID.

        Required?                    false
        Position?                    named
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AutoRemovePersIfNotUsedAfterSec <uint> Remove assigned persistent desktop from user if not used (in seconds).

-AssignmentType <HostAssignmentTypearrow-up-right> Set Assignment Type Possible values: User, Device

-Technology <UserProfileTecharrow-up-right> Specifies the 'User Profile Technology' value. Possible values: DoNotManage, UPD, FSLogix, FSLogixProfileContainer

-SessionAction <SessionActionarrow-up-right> Session change state. Possible values: Disconnect, Logoff

-PerformAction <PerformActionarrow-up-right> Perform action on session change. Possible values: DoNothing, Shutdown, Suspend, Delete, Restart, Unassign, Recreate

-PerformActionAfterSec <uint> Perform action after (in seconds).

-IsUsersGrantedRDPermissions <bool> Grant users RD permission.

-GroupType <UserGroupTypearrow-up-right> Group type that will get RD premission. Possible values: Administrators, RemoteDesktopUsers, RDUsers

-DisconnectActiveSessionAfter <uint> Disconnect active session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.

-LogoffDisconnectedSessionAfter <uint> Logoff disconnected session after (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.

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

-AllowURLAndMailRedirection <AllowURLAndMailRedirectionarrow-up-right> Specifies the 'Allow Client URL/Mail Redirection'. Possible values: Disabled, Enabled, EnabledWithAppRegistration

-SupportShellURLNamespaceObjects <bool> Specifies if 'Support Shell URL Namespace Objects' option is enabled or disabled.

-DragAndDropMode <DragAndDropModeValuearrow-up-right> Specifies the mode the drag and drop feature will operate. Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional

-AllowRemoteExec <bool> Specifies if 'Allow 2XRemoteExec to send command to the client' option is enabled or disabled.

-ManageRDPTransportProtocol <ManageRDPTransportProtocolarrow-up-right> Manage RDP transport protocol. Possible values: Disabled, BothUDPTCP, OnlyTCP, EitherUDPTCP

-FileTransferMode <FileTransferControlModearrow-up-right> Specifies if File Transfer option is allowed and if yes, which directions are allowed. Possible values: Disabled, ClientToServer, ServerToClient, Bidirectional

-FileTransferLocation <string> Location where the File Transfer takes place, if and where it is allowed.

-FileTransferLockLocation <bool> Lock Location where the File Transfer takes place, if and where it is allowed.

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

-PrinterNameFormat <PrnNameFormatarrow-up-right> 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

-RemoveSessionNumberFromPrinterName <bool> Enable or disable the 'Remove session number from printer name' option.

-RemoveClientNameFromPrinterName <bool> Enable or disable the 'Remove client name from printer name' option.

<CommonParameters>

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Set-RASVDIDefaultSettings -ConnectionTimeoutSec 300 Modifies the default connection timeout.

Last updated