OrderBy Parameter (Select-Redshift Cmdlet)CData Cmdlets for Amazon Redshift 2019 - Build 19.0.7354
The order in which columns will be returned.
Select-Redshift -OrderBy string
The order in which columns will be returned. The value of this parameter has the same syntax as the ORDER BY clause of an SQL statement. You can specify multiple columns and the order to sort each by in a comma-separated list.
Select-Redshift -Connection $connection -Table "Orders" -Columns "ShipCity ASC" -Where "ShipCountry = 'USA'"