PowerShell script to test ADSI functionality. Supports both LDAP (Active Directory) and EDMS (Active Roles)