Skip to main content

Powershell: Sort-Object

Sort-Object - Sorts objects by property values.

Alias: sort

PS C:\> get-help Sort-Object

NAME
    Sort-Object

SYNOPSIS
    Sorts objects by property values.


SYNTAX
    Sort-Object [[-Property] ] [-CaseSensitive] [-Culture ] [-Descending] [-InputObject
    ] [-Unique] []


DESCRIPTION
    The Sort-Object cmdlet sorts objects in ascending or descending order based on the values of properties
    of the object.

    You can specify a single property or multiple properties, for a multi-key sort, and you can select a
    case-sensitive or case-insensitive sort. You can also direct Sort-Object to display only the objects
    with a unique value for a particular property.

Popular posts from this blog

Microsoft Windows Server 2012 R2 Standard Evaluation Product Key

Microsoft Windows Server 2012 R2 Standard Evaluation D2N9P-3P6X9-2R39C-7RTCD-MDVJX DBGBW-NPF86-BJVTX-K3WKJ-MTB6V

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'

hmailserver: Notes from the field

hmailserver is one of free open source mail servers running on Microsoft Windows operating system.