I am working for a company that still uses windows NT 4.0 servers and workstations. The PDC is still windows NT 4.0
I searched technet and found a script that enumerates user accounts in NT 4.0 domain:
Set objDomain = GetObject("WinNT://zigchor,domain")
objDomain.Filter = Array("User")
For Each objUser In objDomain
Wscript.Echo objUser.Name
Next
I modified it to make it work. It listed all the user in domain zigchor
I would like the script to read an excell spreadsheep and enumerate all the user id corresponding to the list of name provided in the spreadsheet.
for exemple the excell spreadsheep contains:
Last Name First Name UserID
Sarr Mamadou
Sene Pierre
Coly Atika
I searched technet and found a script that enumerates user accounts in NT 4.0 domain:
Set objDomain = GetObject("WinNT://zigchor,domain")
objDomain.Filter = Array("User")
For Each objUser In objDomain
Wscript.Echo objUser.Name
Next
I modified it to make it work. It listed all the user in domain zigchor
I would like the script to read an excell spreadsheep and enumerate all the user id corresponding to the list of name provided in the spreadsheet.
for exemple the excell spreadsheep contains:
Last Name First Name UserID
Sarr Mamadou
Sene Pierre
Coly Atika