ctigeek / InvokeQueryPowershellModule

A Powershell module of Cmdlets for querying most types of databases.
https://www.powershellgallery.com/packages/InvokeQuery
MIT License
58 stars 10 forks source link

Unable to connect to PostgreSql #12

Open fdge opened 6 years ago

fdge commented 6 years ago

Invoke-PostgreSqlQuery -Credential $Credential -Server $Server -Database $DB -Sql $QueryStr; Invoke-PostgreSqlQuery : Keyword not supported: data source Parameter name: keyword At line:1 char:1

fdge commented 6 years ago

Connecting using ConnectionString: Invoke-PostgreSqlQuery -ConnectionString "Host=$Server;port=$Port;Database=$DB;Username=$Username;Password=$Password;" -Sql $QueryStr;

I'm commenting with this because I couldn't find how to connect to PostgreSql

Kanatovich commented 6 years ago

That was fixed in PR #8