Skip to content

Split parameter set in Sort-Object.md v6.0 #1975

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 1 commit into from
Dec 21, 2017
Merged
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
47 changes: 14 additions & 33 deletions reference/6/Microsoft.PowerShell.Utility/Sort-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,18 @@ Sorts objects by property values.

## SYNTAX

### Default
```
Sort-Object [-Descending] [-Unique] [-InputObject <PSObject>] [[-Property] <Object[]>] [-Culture <String>]
[-CaseSensitive] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
[-Top <Int32>] [-Bottom <Int32>]
Sort-Object [[-Property] <Object[]>] [-Descending] [-Unique] [-Top <Int32>]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

### Bottom
```
Sort-Object [[-Property] <Object[]>] -Bottom <Int32> [-Descending] [-Unique]
[-InputObject <PSObject>] [-Culture <String>] [-CaseSensitive]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -182,7 +190,7 @@ Specifies the number of objects to get from the end of the sorted object array.

```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Bottom
Aliases:

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

### -InformationAction
```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
```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 sort.

Expand Down Expand Up @@ -315,7 +296,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -326,7 +307,7 @@ Specifies the number of objects to get from the start of the sorted object array

```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Default
Aliases:

Required: False
Expand Down