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
A place for me to express the 'not so hidden' Geek side of me and for me to post some of my technical challenges and fixes. Enjoy.
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
/* Extra Links ----------------------------------------------- */
tangential
0 Comments:
Post a Comment