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.
Glossary: Command Line for IT: Bash and PowerShell
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.