Using Postgresql With Powershell Foreach Object