Skip to content

Commit 46b743b

Browse files
authored
Merge pull request MicrosoftDocs#841 from tseward/patch-475
Update Get-SPServiceInstance.md
2 parents fc60517 + 4b68b98 commit 46b743b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

sharepoint/sharepoint-ps/sharepoint-server/Get-SPServiceInstance.md

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

4242
### --------------EXAMPLE-----------------
4343
```
44-
C:\PS>Get-SPServiceInstance -Server ServerA
44+
PS C:\>Get-SPServiceInstance -Server ServerA
4545
```
4646

4747
This example displays the service instances from a given server.
@@ -83,13 +83,9 @@ Accept wildcard characters: False
8383
```
8484
8585
### -AssignmentCollection
86-
Manages objects for the purpose of proper disposal.
87-
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.
88-
Using the SPAssignment object, you can assign objects to a variable and dispose of the objects after they are needed to free up memory.
89-
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.
86+
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.
9087
91-
When the Global parameter is used, all objects are contained in the global store.
92-
If objects are not immediately used, or disposed of by using the Stop-SPAssignment command, an out-of-memory scenario can occur.
88+
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.
9389
9490
```yaml
9591
Type: SPAssignmentCollection
@@ -105,7 +101,7 @@ Accept wildcard characters: False
105101
```
106102
107103
### -All
108-
{{Fill All Description}}
104+
Returns all services instance in the farm.
109105
110106
```yaml
111107
Type: SwitchParameter

0 commit comments

Comments
 (0)