Rod

Probably the easiest thing to do is copy and save this script from Chris.

KiXforms - Active Directory Browser
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=91082


You will need to download and install KiXforms DLL from here
http://www.kixforms.com

Then when you run it you can browse to the object you want and copy/paste the LDAP location into your script.