Skip to content

Commit 2dffaff

Browse files
matt9ucciSean Wheeler
authored and
Sean Wheeler
committed
Fix parameter's position in Get-Member.md (MicrosoftDocs#1958)
1 parent 8c303f1 commit 2dffaff

File tree

5 files changed

+23
-66
lines changed

5 files changed

+23
-66
lines changed

reference/3.0/Microsoft.PowerShell.Utility/Get-Member.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ title: Get-Member
1313
Gets the properties and methods of objects.
1414
## SYNTAX
1515

16-
```
17-
Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>]
18-
[-View <PSMemberViewTypes>] [-Static] [-Force] [<CommonParameters>]
16+
```powershell
17+
Get-Member [[-Name] <String[]>] [-InputObject <PSObject>]
18+
[-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force]
19+
[<CommonParameters>]
1920
```
2021

2122
## DESCRIPTION
@@ -332,7 +333,7 @@ Parameter Sets: (All)
332333
Aliases:
333334

334335
Required: False
335-
Position: 1
336+
Position: 0
336337
Default value: None
337338
Accept pipeline input: False
338339
Accept wildcard characters: False

reference/4.0/Microsoft.PowerShell.Utility/Get-Member.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ Gets the properties and methods of objects.
1515

1616
## SYNTAX
1717

18-
```
19-
Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>]
20-
[-View <PSMemberViewTypes>] [-Static] [-Force] [<CommonParameters>]
18+
```powershell
19+
Get-Member [[-Name] <String[]>] [-InputObject <PSObject>]
20+
[-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force]
21+
[<CommonParameters>]
2122
```
2223

2324
## DESCRIPTION
@@ -342,7 +343,7 @@ Parameter Sets: (All)
342343
Aliases:
343344

344345
Required: False
345-
Position: 1
346+
Position: 0
346347
Default value: None
347348
Accept pipeline input: False
348349
Accept wildcard characters: False

reference/5.0/Microsoft.PowerShell.Utility/Get-Member.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ Gets the properties and methods of objects.
1515

1616
## SYNTAX
1717

18-
```
19-
Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>]
20-
[-View <PSMemberViewTypes>] [-Static] [-Force] [<CommonParameters>]
18+
```powershell
19+
Get-Member [[-Name] <String[]>] [-InputObject <PSObject>]
20+
[-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force]
21+
[<CommonParameters>]
2122
```
2223

2324
## DESCRIPTION

reference/5.1/Microsoft.PowerShell.Utility/Get-Member.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ Gets the properties and methods of objects.
1515

1616
## SYNTAX
1717

18-
```
19-
Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>]
20-
[-View <PSMemberViewTypes>] [-Static] [-Force] [<CommonParameters>]
18+
```powershell
19+
Get-Member [[-Name] <String[]>] [-InputObject <PSObject>]
20+
[-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force]
21+
[<CommonParameters>]
2122
```
2223

2324
## DESCRIPTION

reference/6/Microsoft.PowerShell.Utility/Get-Member.md

Lines changed: 5 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Gets the properties and methods of objects.
1515

1616
## SYNTAX
1717

18-
```
19-
Get-Member [-InputObject <PSObject>] [[-Name] <String[]>] [-MemberType <PSMemberTypes>]
20-
[-View <PSMemberViewTypes>] [-Static] [-Force] [-InformationAction <ActionPreference>]
21-
[-InformationVariable <String>] [<CommonParameters>]
18+
```powershell
19+
Get-Member [[-Name] <String[]>] [-InputObject <PSObject>]
20+
[-MemberType <PSMemberTypes>] [-View <PSMemberViewTypes>] [-Static] [-Force]
21+
[<CommonParameters>]
2222
```
2323

2424
## DESCRIPTION
@@ -267,53 +267,6 @@ Accept pipeline input: False
267267
Accept wildcard characters: False
268268
```
269269
270-
### -InformationAction
271-
The following list describes the properties that are added when you use the Force parameter:
272-
273-
-- PSBase: The original properties of the .NET Framework object without extension or adaptation. These are the properties defined for the object class and listed in MSDN.
274-
275-
-- PSAdapted: The properties and methods defined in the Windows PowerShell extended type system.
276-
277-
-- PSExtended: The properties and methods that were added in the Types.ps1xml files or by using the Add-Member cmdlet.
278-
279-
-- PSObject: The adapter that converts the base object to a Windows PowerShell PSObject object.
280-
281-
-- PSTypeNames: A list of object types that describe the object, in order of specificity. When formatting the object, Windows PowerShell searches for the types in the Format.ps1xml files in the Windows PowerShell installation directory ($pshome). It uses the formatting definition for the first type that it finds.```yaml
282-
Type: ActionPreference
283-
Parameter Sets: (All)
284-
Aliases: infa
285-
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend
286-
287-
Required: False
288-
Position: Named
289-
Default value: None
290-
Accept pipeline input: False
291-
Accept wildcard characters: False
292-
```
293-
294-
### -InformationVariable
295-
The following list describes the properties that are added when you use the Force parameter:
296-
297-
-- PSBase: The original properties of the .NET Framework object without extension or adaptation. These are the properties defined for the object class and listed in MSDN.
298-
299-
-- PSAdapted: The properties and methods defined in the Windows PowerShell extended type system.
300-
301-
-- PSExtended: The properties and methods that were added in the Types.ps1xml files or by using the Add-Member cmdlet.
302-
303-
-- PSObject: The adapter that converts the base object to a Windows PowerShell PSObject object.
304-
305-
-- PSTypeNames: A list of object types that describe the object, in order of specificity. When formatting the object, Windows PowerShell searches for the types in the Format.ps1xml files in the Windows PowerShell installation directory ($pshome). It uses the formatting definition for the first type that it finds.```yaml
306-
Type: String
307-
Parameter Sets: (All)
308-
Aliases: iv
309-
310-
Required: False
311-
Position: Named
312-
Default value: None
313-
Accept pipeline input: False
314-
Accept wildcard characters: False
315-
```
316-
317270
### -InputObject
318271
Specifies the object whose members are retrieved.
319272
@@ -393,7 +346,7 @@ Parameter Sets: (All)
393346
Aliases:
394347

395348
Required: False
396-
Position: 1
349+
Position: 0
397350
Default value: None
398351
Accept pipeline input: False
399352
Accept wildcard characters: False

0 commit comments

Comments
 (0)