dovrai sudare per riuscirci, sempre che sia possibile, comunque prova questo script
codice:
Const ADS_SCOPE_SUBTREE = 2
Set objConnection = CreateObject("ADODB.Connection")
Set objCommand = CreateObject("ADODB.Command")
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"
Set objCOmmand.ActiveConnection = objConnection
objCommand.CommandText = _
"Select Name, Location from 'LDAP://DC=dominio,DC=it' " _
& "where objectClass='user'"
objCommand.Properties("Page Size") = 1000
objCommand.Properties("Timeout") = 30
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
objCommand.Properties("Cache Results") = False
Set objRecordSet = objCommand.Execute
objRecordSet.MoveFirst
Do Until objRecordSet.EOF
Wscript.Echo "Nome utente: " & objRecordSet.Fields("Name").Value
objRecordSet.MoveNext
Loop
questo è un .vbs che alla fine da tante msgbox quanti sono gli utenti di dominio.it, lo devi modificare per fargli fare quello che vuoi te