#View Throttling Settings
Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")| Get-SPThrottlingRule
Get-SPThrottlingRule -RequestManagementSettings (Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp"))
#View Throttling Rules
$rmset=Get-SPWebApplication -Identity "http://w15-sp" |Get-SPRequestManagementSettings
$rm = Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")
$criteria= New-SPRequestManagementRuleCriteria -Value http -Property url -MatchType StartsWith -CaseSensitive $false
$rmset|Add-SPThrottlingRule -Name "Simple HTTP Rule" -Criteria $criteria -Threshold 4
(Get-SPWebApplication -Identity "http://w15-sp").ThrottlingRules
Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")| Get-SPThrottlingRule
#Adding a rule to for word documents (*.doc)
$criteria= New-SPRequestManagementRuleCriteria -Value ".*\.docx" -Property url -MatchType StartsWith -CaseSensitive $false
Add-SPThrottlingRule -RequestManagementSettings $rm -Name "Simple doc Rule" -Criteria $criteria -Threshold 4
Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")| Get-SPThrottlingRule
$rmset.ThrottlingEnabled
$rmset.ThrottlingRules
#Request Management
Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")| Get-SPThrottlingRule
Get-SPThrottlingRule -RequestManagementSettings (Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp"))
#View Throttling Rules
$rmset=Get-SPWebApplication -Identity "http://w15-sp" |Get-SPRequestManagementSettings
$rm = Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")
$criteria= New-SPRequestManagementRuleCriteria -Value http -Property url -MatchType StartsWith -CaseSensitive $false
$rmset|Add-SPThrottlingRule -Name "Simple HTTP Rule" -Criteria $criteria -Threshold 4
(Get-SPWebApplication -Identity "http://w15-sp").ThrottlingRules
Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")| Get-SPThrottlingRule
#Adding a rule to for word documents (*.doc)
$criteria= New-SPRequestManagementRuleCriteria -Value ".*\.docx" -Property url -MatchType StartsWith -CaseSensitive $false
Add-SPThrottlingRule -RequestManagementSettings $rm -Name "Simple doc Rule" -Criteria $criteria -Threshold 4
Get-SPRequestManagementSettings -Identity (Get-SPWebApplication -Identity "http://w15-sp")| Get-SPThrottlingRule
$rmset.ThrottlingEnabled
$rmset.ThrottlingRules
#Request Management
No comments:
Post a Comment