![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Get a List of All the Domain Controllers in My Domain
|
||
Set objOU = GetObject(“LDAP://ou=Domain Controllers, dc=fabrikam, dc=com”)
objOU.Filter = Array(“Computer”) For Each objComputer in objOU Wscript.Echo objComputer.CN Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |