Skip to content

Commit ae02221

Browse files
authored
Merge pull request MicrosoftDocs#861 from tseward/patch-495
Update Remove-SPEnterpriseSearchFileFormat.md
2 parents b8264b7 + 8968a6c commit ae02221

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

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

3232
### ------------------EXAMPLE------------------
3333
```
34-
C:\PS>$ssa = Get-SPEnterpriseSearchServiceApplication
35-
Remove-SPEnterpriseSearchFileFormat -SearchApplication $ssa -Identity foo
34+
PS C:\>$ssa = Get-SPEnterpriseSearchServiceApplication
35+
PS C:\>Remove-SPEnterpriseSearchFileFormat -SearchApplication $ssa -Identity foo
3636
```
3737

3838
This example uses the `Remove-SPEnterpriseSearchFileFormat` cmdlet to remove the file format with the belonging file name extension foo in the search service application referenced by $ssa.
@@ -75,13 +75,9 @@ Accept wildcard characters: False
7575
```
7676
7777
### -AssignmentCollection
78-
Manages objects for the purpose of proper disposal.
79-
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.
80-
Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory.
81-
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.
78+
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.
8279
83-
When the Global parameter is used, all objects are contained in the global store.
84-
If objects are not immediately used, or disposed of by using the `Stop-SPAssignment` command, an out-of-memory scenario can occur.
80+
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.
8581
8682
```yaml
8783
Type: SPAssignmentCollection

0 commit comments

Comments
 (0)