Skip to content

Commit 9261f01

Browse files
authored
Merge pull request MicrosoftDocs#645 from tseward/patch-332
Update Set-SPRequestManagementSettings.md
2 parents 6b1f822 + 9ad5557 commit 9261f01

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Set-SPRequestManagementSettings.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ For permissions and the most current information about Windows PowerShell for Sh
2828

2929
### --------------------EXAMPLE---------------------
3030
```
31-
PS C:\> {{ Add example code here }}
31+
PS C:\>$wa = Get-SPWebApplication http://webAppUrl
32+
PS C:\>$req = $wa | Get-SPRequestManagementSettings
33+
PS C:\>Set-SPRequestManagementSettings -Identity $req -ThrottlingEnabled:$false
3234
```
3335

34-
{{ Add example description here }}
35-
36+
This example disables throttling on the specified Web Application.
3637

3738
## PARAMETERS
3839

@@ -53,13 +54,9 @@ Accept wildcard characters: False
5354
```
5455
5556
### -AssignmentCollection
56-
Manages objects for the purpose of proper disposal.
57-
Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management.
58-
Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory.
59-
When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
57+
Manages objects for the purpose of proper disposal. Use of objects, such as SPWeb or SPSite, can use large amounts of memory and use of these objects in Windows PowerShell scripts requires proper memory management. Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory. When SPWeb, SPSite, or SPSiteAdministration objects are used, the objects are automatically disposed of if an assignment collection or the Global parameter is not used.
6058
61-
When the Global parameter is used, all objects are contained in the global store.
62-
If objects are not immediately used, or disposed of by using the `Stop-SPAssignment` command, an out-of-memory scenario can occur.
59+
When the Global parameter is used, all objects are contained in the global store. If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
6360
6461
```yaml
6562
Type: SPAssignmentCollection

0 commit comments

Comments
 (0)