Postgresql Find Substring In Powershell Commands For Active Directory