Select-Redshift Cmdlet
Searches Amazon Redshift data.
Syntax
Select-Redshift [parameters]
Remarks
The Select-Redshift cmdlet allows you to use a syntax similar to SQL SELECT statements to search Amazon Redshift data.
$conn = Connect-Redshift -User 'admin' -Password 'admin' -Server 'examplecluster.my.us-west-2.redshift.amazonaws.com' -Port '5439' -Database 'dev' Select-Redshift -Connection $conn -Table "`"sales_db`".`"public`".Orders" -Columns @("ShipName","ShipCity") -Where "ShipCountry='USA'"