Postgresql Loop Through Array Powershell Commands For Active Directory