Wednesday, 15 July 2015

vbscript + query different domain -


How do I set up a vbscript for a query of a different domain, and I want this domain name or full domain ldap path Instead of supplying a domain controller below?

Below is the current domain:

  set oRoot = GetObject ("LDAP: // rootDSE") sDomainPath = oRoot.Get ("DefaultNamingContext") msgbox (sDomainPath)   

What if I want to point it to a different domain

Example: corporate.ad.ctl.net.au

thx < / P>

Richard L. Try another script from Mueller.

No comments:

Post a Comment