Postgres Set Variable In Powershell Foreach