I need to create a script that can query users on Active Directory.
All my users are connected to a server called "engineering.software.companyX.com".
All our PC's have domain accounts to the name above.
What LDAP URI do I use?
You may use
You can also query users by their logon name:
I see from the edits you just want the LDAP connection string/URI. Try this: