Postgresql Loop Through Array Powershell If Contains