In VBS using ADSI and this code:
Set ou = getObject( "WinNT://" & DOMAIN )
ou.filter = "Computer"
for each computer in ou
...
next
I can use the filter to extract computers from a domain.
Hw do I tell the difference between Servers and Workstations, or Domain controllers against member servers? There must be a property to differentiate them, but I can't find it.
Cheers in advance
Simon...