Set-RDSDefaultSettings

NAME

Set-RDSDefaultSettings

SYNOPSIS

Modifies default settings used to configure an RD Session Host server.

SYNTAX

Set-RDSDefaultSettings [-AllowRemoteExec <bool> ] [-AllowURLAndMailRedirection <AllowURLAndMailRedirection> {Disabled | Enabled | EnabledWithAppRegistration}] [-EnableAppMonitoring <bool> ] [-MaxSessions <uint> ] [-Port <uint> ] [-SessionLogoffTimeout <uint> ] [-SessionTimeout <uint> ] [-SiteId <uint> ] [-UseRemoteApps <bool> ] [ <CommonParameters> ]

DESCRIPTION

Modifies default settings used to configure an RD Session Host server.

For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a matching parameter and its value.

Default settings are defined on a site level and are applied to an RD Session Host server when it is initially added to the site.

To retrieve the current defaults settings, use the Get-RDSDefaultSettings cmdlet.

PARAMETERS


- SiteId <uint>
Site ID for which to modify the default RD Session Host server settings.

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

- Port <uint>
Specifies the RD Session Host agent port number.

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

- MaxSessions <uint>
Specifies the 'Maximum Sessions' option.

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

- SessionTimeout <uint>
Specifies the 'Publishing Settings Disconnect Timeout' option (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'.

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

- SessionLogoffTimeout <uint>
Specifies the 'Publishing Settings Reset Timeout' option (in seconds). Accepted values: 20-1641600 seconds; 0 for 'Never'; 1 for 'Immediate'.

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

- AllowURLAndMailRedirection <AllowURLAndMailRedirection>
Specifies the 'Allow mail and URL redirection' option. Accepted values: 0 (Disabled), 1 (Enabled), 2 (Enable with app registration).

Possible values: Disabled, Enabled, EnabledWithAppRegistration

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

- AllowRemoteExec <bool>
Enables or disables the 'Allow 2XRemoteExec to send command to the client' option.

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

- EnableAppMonitoring <bool>
Enables or disables the 'Enable application monitoring' option.

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

- UseRemoteApps <bool>
Enables or disables the 'Use RemoteApps if available' option.

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

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). 

INPUTS



OUTPUTS



EXAMPLES


---------- EXAMPLE 1 ----------

Set-RDSDefaultSettings -SiteId 2 -MaxSessions 100

Sets the default value of the MaxSessions property for the specified site.

RELATED LINKS

Parallels RAS v15.5