Set-R1GlobalLimit
Set-R1GlobalLimit
SYNOPSIS
Updates the global limits.
SYNTAX
Set-R1GlobalLimit [[-maxConnections] <Int32>] [[-sizeLimit] <Int32>] [[-timeLimit] <Int32>]
[[-lookThroughLimit] <Int32>] [[-writeTimeout] <Int32>] [[-idleTimeout] <Int32>]
[[-numberProcessingQueues] <Int32>] [[-maxWorkingThreads] <Int32>] [[-maxPendingConnectionRequests] <Int32>]
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Updates the global server limits, covering connection counts, search size and time limits, timeouts and thread counts.
The current settings are retrieved before they are updated, and sent back with the supplied values applied over them, so a setting left unspecified keeps its current value. The command therefore issues a GET followed by a PUT, and the account needs permission to read the settings as well as to change them.
EXAMPLES
Example 1
Set-R1GlobalLimit -maxConnections 2000 -idleTimeout 600
Raises the connection limit and shortens the idle timeout.
PARAMETERS
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-idleTimeout
How long a connection may be idle before it is closed, in seconds.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-lookThroughLimit
The maximum number of entries the server may examine during a search. Zero for no limit.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-maxConnections
The maximum number of concurrent client connections.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-maxPendingConnectionRequests
The maximum number of connection requests which may be queued.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-maxWorkingThreads
The maximum number of threads handling client requests.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-numberProcessingQueues
The number of request processing queues.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-sizeLimit
The maximum number of entries a search may return. Zero for no limit.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-timeLimit
The maximum time a search may run, in seconds. Zero for no limit.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-writeTimeout
The maximum time a write may take, in seconds. Zero for no limit.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
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.