Sorting results in Powershell

Is there any sorting option in PowerShell?

Add comment

Choose authorization option

Log in

If you have an account on CentrumXP this option will be best for you.

Log in
Join community

Our registered users have extra privileges like adding questions, commenting, and voting.

Registration

Answer: 1

There heve been many similar questions I believe. You need to type in Sort-Object after your command and then just enter the name of the colum based on which objects will be sorted.

Ronnie
Added:
2 years ago
Updated:
2 years ago
Correct answer
  • TheDrunk 7/10/2017, 3:29:53 PM

    OK. I also had to place | and Sort-Object after the command

Add comment