Skip to content

Commit 3ebf6f3

Browse files
authored
Merge pull request MicrosoftDocs#854 from tseward/patch-488
Update Remove-SPEnterpriseSearchContentEnrichmentConfiguration.md
2 parents 41c47da + 2a576b7 commit 3ebf6f3

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Remove-SPEnterpriseSearchContentEnrichmentConfiguration.md

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

2929
### ------------------EXAMPLE-----------------
3030
```
31-
C:\PS>$ssa = Get-SPEnterpriseSearchServiceApplication
32-
PS> Remove-SPEnterpriseSearchContentEnrichmentConfiguration -SearchApplication $ssa
31+
PS C:\>$ssa = Get-SPEnterpriseSearchServiceApplication
32+
PS C:\>Remove-SPEnterpriseSearchContentEnrichmentConfiguration -SearchApplication $ssa
3333
```
3434

3535
This example removes the content enrichment configuration from the default search service application.
@@ -54,14 +54,9 @@ Accept wildcard characters: False
5454
```
5555
5656
### -AssignmentCollection
57-
Manages objects for the purpose of proper disposal.
58-
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.
59-
Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory.
60-
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.
61-
62-
When the Global parameter is used, all objects are contained in the global store.
63-
If objects are not immediately used, or disposed of by using the `Stop-SPAssignment` command, an out-of-memory scenario can occur.
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.
6458
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.
6560
```yaml
6661
Type: SPAssignmentCollection
6762
Parameter Sets: (All)

0 commit comments

Comments
 (0)