Skip to content

Commit fc60517

Browse files
authored
Merge pull request MicrosoftDocs#840 from tseward/patch-474
Update Get-SPServiceApplication.md
2 parents eb5b522 + 347d8f8 commit fc60517

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

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

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

2929
## EXAMPLES
3030

31-
### ------------------EXAMPLE----------------------
31+
### ------------------EXAMPLE 1----------------------
3232
```
33-
C:\PS>Get-SPServiceApplication
33+
PS C:\>Get-SPServiceApplication
3434
```
3535

3636
This example returns all service applications in the farm.
3737

38+
### ------------------EXAMPLE 2----------------------
39+
```
40+
PS C:\>Get-SPServiceApplication -Identity e2c2be70-6382-4ce7-8a44-ae7dadff5597
41+
```
42+
43+
This example returns the service application that has the Identity "e2c2be70-6382-4ce7-8a44-ae7dadff5597".
44+
45+
### ------------------EXAMPLE 3----------------------
46+
```
47+
PS C:\>Get-SPServiceApplication -Name AccountingServiceApp
48+
```
49+
50+
This example returns the service application that has the friendly name "AccountingServiceApp".
51+
52+
You can use either the Identity or the Name parameter but if you use both, the command will process the Identity first and ignore the Name.
53+
3854
## PARAMETERS
3955

4056
### -Identity
@@ -76,7 +92,7 @@ Accept wildcard characters: False
7692
```
7793
7894
### -Name
79-
{{Fill Name Description}}
95+
Specifies the friendly name of the new usage application.The type must be a valid name of a usage application; for example, UsageApplication1.
8096
8197
```yaml
8298
Type: String

0 commit comments

Comments
 (0)