Skip to content

Fix parameter's position in Group-Object.md #1966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions reference/3.0/Microsoft.PowerShell.Utility/Group-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ title: Group-Object
# Group-Object
## SYNOPSIS
Groups objects that contain the same value for specified properties.

## SYNTAX

```
Group-Object [-NoElement] [-AsHashTable] [-AsString] [-InputObject <PSObject>] [[-Property] <Object[]>]
[-Culture <String>] [-CaseSensitive] [<CommonParameters>]
Group-Object [[-Property] <Object[]>] [-NoElement] [-AsHashTable] [-AsString]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -325,7 +327,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down
7 changes: 4 additions & 3 deletions reference/4.0/Microsoft.PowerShell.Utility/Group-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Groups objects that contain the same value for specified properties.
## SYNTAX

```
Group-Object [-NoElement] [-AsHashTable] [-AsString] [-InputObject <PSObject>] [[-Property] <Object[]>]
[-Culture <String>] [-CaseSensitive] [<CommonParameters>]
Group-Object [[-Property] <Object[]>] [-NoElement] [-AsHashTable] [-AsString]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -337,7 +338,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down
5 changes: 3 additions & 2 deletions reference/5.0/Microsoft.PowerShell.Utility/Group-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Groups objects that contain the same value for specified properties.
## SYNTAX

```
Group-Object [-NoElement] [-AsHashTable] [-AsString] [-InputObject <PSObject>] [[-Property] <Object[]>]
[-Culture <String>] [-CaseSensitive] [<CommonParameters>]
Group-Object [[-Property] <Object[]>] [-NoElement] [-AsHashTable] [-AsString]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down
5 changes: 3 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Utility/Group-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Groups objects that contain the same value for specified properties.
## SYNTAX

```
Group-Object [-NoElement] [-AsHashTable] [-AsString] [-InputObject <PSObject>] [[-Property] <Object[]>]
[-Culture <String>] [-CaseSensitive] [<CommonParameters>]
Group-Object [[-Property] <Object[]>] [-NoElement] [-AsHashTable] [-AsString]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down
33 changes: 3 additions & 30 deletions reference/6/Microsoft.PowerShell.Utility/Group-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Groups objects that contain the same value for specified properties.
## SYNTAX

```
Group-Object [-NoElement] [-AsHashTable] [-AsString] [-InputObject <PSObject>] [[-Property] <Object[]>]
[-Culture <String>] [-CaseSensitive] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
Group-Object [[-Property] <Object[]>] [-NoElement] [-AsHashTable] [-AsString]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

Expand Down Expand Up @@ -277,33 +277,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -InformationAction
By itself, the AsHashTable parameter returns each hash table in which each key is an instance of the grouped object. When used with the AsString parameter, the keys in the hash table are strings.```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -InformationVariable
By itself, the AsHashTable parameter returns each hash table in which each key is an instance of the grouped object. When used with the AsString parameter, the keys in the hash table are strings.```yaml
Type: String
Parameter Sets: (All)
Aliases: iv

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -InputObject
Specifies the objects to group.
Enter a variable that contains the objects, or type a command or expression that gets the objects.
Expand Down Expand Up @@ -353,7 +326,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down