Using Postgresql With Powershell If And Operator