Cmdlets for PostgreSQL

Build 24.0.9060

Select-PostgreSQL Cmdlet

Parameters   Output Objects  

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

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