Cmdlets for Amazon Redshift

Build 24.0.9060

Select-Redshift Cmdlet

Parameters   Output Objects  

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'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060