I currently have a connection string:
Set objUser = GetObject("LDAP://CN=" & username & ", ou=Users, dc=DomainName, dc=local") which works fine, except it connects to the server I am currently connected too. What I need to do is to connect to each of our domain server individually and do a query. How do I direct the connection to a particular server? I need to run a vbscript to look at each server to get logon time information as in 2000 server it logs only the logons to individual servers.
Set objUser = GetObject("LDAP://CN=" & username & ", ou=Users, dc=DomainName, dc=local") which works fine, except it connects to the server I am currently connected too. What I need to do is to connect to each of our domain server individually and do a query. How do I direct the connection to a particular server? I need to run a vbscript to look at each server to get logon time information as in 2000 server it logs only the logons to individual servers.