Postgresql Function Set Variable In Powershell Commands For Active Directory