Tuesday, September 09, 2008

How can I tell which Domain Controller I am authenticating from a Windows XP workstation?

How can I tell which Domain Controller I am authenticating from a Windows XP workstation?:

Set objDomain = GetObject("LDAP://rootDSE")
strDC = objDomain.Get("dnsHostName")
Wscript.Echo "Authenticating domain controller: " & strDC

0 Comments:

Get the latest 'geek' post via RSS...

Subscribe below for email updates...

Enter your email address:

Delivered by FeedBurner

/* Extra Links ----------------------------------------------- */
tangential
tangential