Using Postgresql With Powershell Foreach Command