Skip to content

Glossary: Command Line for IT: Bash and PowerShell

Sort-Object

Also written: -Descending, -Unique

Sorts objects by a property, such as Length. -Descending puts the biggest first, and -Unique keeps one copy of each value.

Where the book teaches it

Related terms

sortSelect-Object