Summary: Use Windows PowerShell to reverse an array.
How can I use Windows PowerShell to sort an array that is going in the wrong direction?
Call the Reverse static method from the [array] class, for example:
PS C:\> $a = 1,2,3,4,5
PS C:\> [array]::Reverse($a)
0 comments