Powershell Bad Code #2: Sort-Object not working with filenames

By | June 7, 2015

Question: Why this command is not sorting the filenames in ascending order from 1 to 20 ?

Not working

powershell-bad-code-2-sort

Working

powershell-bad-code-1-sort-object-working-filename

Answer :


previous-buttonnext-button

Leave a Reply

Your email address will not be published. Required fields are marked *