Description : Même s'il existe plusieurs contrôleurs de domaine au sein de votre domaine, il y en a un qui vous sert pour l'authentification. Et bien c'est le nom de ce DC qui vous serra renvoyé grâce à ce script VBS :
Script : Set objDomain = GetObject("LDAP://rootDse") objDC = objDomain.Get("dnsHostName") Wscript.Echo "Authenticating domain controller: " & objDC
Proposer un script
|
Notre avis :

Votre avis :

Réactions : 0
Votants : 10
Visites : 14599
|