Skip to content

Commit 4fec39b

Browse files
matt9ucciSean Wheeler
authored andcommitted
Fix "Accept wildcard characters" in Get-Service.md v6 (#1878)
* Fixed "False" -> "True" (`DisplayName`, `Exclude`, `Include`, and `Name`) * Removed `InformationAction` and `InformationVariable`
1 parent 1b2889e commit 4fec39b

File tree

1 file changed

+7
-39
lines changed

1 file changed

+7
-39
lines changed

reference/6/Microsoft.PowerShell.Management/Get-Service.md

Lines changed: 7 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,19 @@ Gets the services on the computer.
1818
### Default (Default)
1919
```
2020
Get-Service [[-Name] <String[]>] [-DependentServices] [-RequiredServices]
21-
[-Include <String[]>] [-Exclude <String[]>] [-InformationAction <ActionPreference>]
22-
[-InformationVariable <String>] [<CommonParameters>]
21+
[-Include <String[]>] [-Exclude <String[]>] [<CommonParameters>]
2322
```
2423

2524
### DisplayName
2625
```
2726
Get-Service [-DependentServices] [-RequiredServices] -DisplayName <String[]>
28-
[-Include <String[]>] [-Exclude <String[]>] [-InformationAction <ActionPreference>]
29-
[-InformationVariable <String>] [<CommonParameters>]
27+
[-Include <String[]>] [-Exclude <String[]>] [<CommonParameters>]
3028
```
3129

3230
### InputObject
3331
```
3432
Get-Service [-DependentServices] [-RequiredServices] [-Include <String[]>]
35-
[-Exclude <String[]>] [-InputObject <ServiceController[]>] [-InformationAction <ActionPreference>]
36-
[-InformationVariable <String>] [<CommonParameters>]
33+
[-Exclude <String[]>] [-InputObject <ServiceController[]>] [<CommonParameters>]
3734
```
3835

3936
## DESCRIPTION
@@ -208,7 +205,7 @@ Required: True
208205
Position: Named
209206
Default value: None
210207
Accept pipeline input: False
211-
Accept wildcard characters: False
208+
Accept wildcard characters: True
212209
```
213210
214211
### -Exclude
@@ -226,7 +223,7 @@ Required: False
226223
Position: Named
227224
Default value: None
228225
Accept pipeline input: False
229-
Accept wildcard characters: False
226+
Accept wildcard characters: True
230227
```
231228
232229
### -Include
@@ -244,36 +241,7 @@ Required: False
244241
Position: Named
245242
Default value: None
246243
Accept pipeline input: False
247-
Accept wildcard characters: False
248-
```
249-
250-
### -InformationAction
251-
252-
```yaml
253-
Type: ActionPreference
254-
Parameter Sets: (All)
255-
Aliases: infa
256-
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend
257-
258-
Required: False
259-
Position: Named
260-
Default value: None
261-
Accept pipeline input: False
262-
Accept wildcard characters: False
263-
```
264-
265-
### -InformationVariable
266-
267-
```yaml
268-
Type: String
269-
Parameter Sets: (All)
270-
Aliases: iv
271-
272-
Required: False
273-
Position: Named
274-
Default value: None
275-
Accept pipeline input: False
276-
Accept wildcard characters: False
244+
Accept wildcard characters: True
277245
```
278246
279247
### -InputObject
@@ -307,7 +275,7 @@ Required: False
307275
Position: 1
308276
Default value: None
309277
Accept pipeline input: True (ByPropertyName, ByValue)
310-
Accept wildcard characters: False
278+
Accept wildcard characters: True
311279
```
312280
313281
### -RequiredServices

0 commit comments

Comments
 (0)