![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: List Your Domain Controller
|
||
|
' Description: Returns the name of the domain controller used to authenticate the logged-on user of a computer.
Set objDomain = GetObject("LDAP://rootDse") objDC = objDomain.Get("dnsHostName") Wscript.Echo "Authenticating domain controller:" & objDC | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: | ||