how to get the LDAP name from ActiveDirectory

view full story

http://serverfault.com – I'm a noob. I am trying to figure out what the syntax for the LDAP string is if all my users are connected to a server called "engineering.software.companyX.com" all our PC's have domain accounts to the name above. I need to create a script that can query users on Active Directory So I need to know how I can get the LDAP:// string Thank you (HowTos)