Using Postgresql With Powershell Foreach Continue C