Set-RASLBSettings

NAME

Set-RASLBSettings

SYNOPSIS

Modifies Parallels RAS load balancing settings.

SYNTAX

Set-RASLBSettings [-CPUCounter <bool>] [-DeadTimeout <uint>] [-DisableRDSLB <bool>] [-EnableCPULB <bool>] [-MaxConnectionRequests <uint>] [-MemoryCounter <bool>] [-Method <LBMethod> {ResourceBased | RoundRobin}] [-ReconnectDisconnect <bool>] [-ReconnectUser <bool>] [-ReconnectUsingIPOnly <bool>] [-RefreshTimeout <uint>] [-Replicate <bool>] [-SessionsCounter <bool>] [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

The Set-RASLBSettings cmdlet modifies Parallels RAS load balancing settings using the specified parameters and their values.

All parameters are optional.

PARAMETERS


-SiteId <uint>
The site ID to which the RAS LB settings refer.

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

-Method <LBMethod>
Specifies the load balancing method (Round-robin or Resource based).

Accepted values: ResourceBased [0], RoundRobin [1].

Possible values: ResourceBased, RoundRobin

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

-CPUCounter <bool>
Enable or disable the CPU counter.

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

-MemoryCounter <bool>
Enable or disable the Memory counter.

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

-SessionsCounter <bool>
Enable or disable the Sessions counter.

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

-ReconnectDisconnect <bool>
Enable or disable the "Reconnect to disconnected sessions" option.

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

-ReconnectUsingIPOnly <bool>
Enable or disable the "Reconnect sessions using client's IP address only" option.

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

-ReconnectUser <bool>
Enable or disable the "Limit user to one session per desktop" option.

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

-DisableRDSLB <bool>
Enable or disable the "Disable Microsoft RD Connection Broker" option.

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

-DeadTimeout <uint>
Set the value (number of seconds) of the "Declare Agent dead if not responding for" property.

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

-RefreshTimeout <uint>
Set the value (number of seconds) of the "Agent Refresh Time" property.

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

-Replicate <bool>
Enable or disable the "Replicate settings" option (replicate settings to all sites).

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

-EnableCPULB <bool>
Enable or disable the "CPU Load Balancer" option.

Deprecated: use 'Set-RASCPUOptimizationSettings -EnableCPUOptimization $true' to enable CPU Load Balancer.

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

-MaxConnectionRequests <uint>
Maximum number of connection requests for an Agent.

        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 documentation. 

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES


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

Set-RASLBSettings -ReconnectUser $false -DisableRDSLB $false

Modifies the specified load balancing parameters.

RELATED LINKS