Select-PostgreSQL Cmdlet
Searches PostgreSQL data.
Syntax
Select-PostgreSQL [parameters]
Remarks
The Select-PostgreSQL cmdlet allows you to use a syntax similar to SQL SELECT statements to search PostgreSQL data.
$conn = Connect-PostgreSQL -User 'postgres' -Password 'admin' -Server '127.0.0.1' -Port '5432' -Database 'postgres' Select-PostgreSQL -Connection $conn -Table "`"postgres`".`"schema01`".Orders" -Columns @("ShipName","ShipCity") -Where "ShipCountry='USA'"