Is a
good start. What you also want to do is add some capability for the script
to determine the path to the domain. You do this by starting with rootDSE
and building the domain path from there. After that, you just need to add
to the select statement what specific name you want to find.
Al
-----Original Message-----
From: Frederic Allaert [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 9:50 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] LDAP'ing a computer object in ADHello all,
I have been searching some good, clear examples how to determine the LDAP path
for a computer object, (without knowing the "location" in AD), with the only input being
the hostname of the computer, and the DNS-name for the domain. All this using a .VBS-script...Can someone produce such an example, or direct me to some good resource websites on this topic?
Greetings,
Frederic Allaert
