InvokeQueryPowershellModule
InvokeQueryPowershellModule copied to clipboard
Unable to connect to PostgreSql
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
- Invoke-PostgreSqlQuery -Credential $Credential -Server $Server -Datab ...
-
+ CategoryInfo : NotSpecified: (:) [Invoke-PostgreSqlQuery], ArgumentException + FullyQualifiedErrorId : System.ArgumentException,InvokeQuery.InvokePostgreSqlQuery
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
That was fixed in PR #8