Postgresql Loop Through Array Powershell Delete