Using Postgresql With Powershell Foreach