Enumerate computers in a NT 4.0 domain? 
Author Message
 Enumerate computers in a NT 4.0 domain?

How might one do the above?
--
JB Fields


Sat, 10 Dec 2005 08:22:31 GMT  
 Enumerate computers in a NT 4.0 domain?
net view

Ray at work


Quote:
> How might one do the above?
> --
> JB Fields



Sun, 11 Dec 2005 02:40:57 GMT  
 Enumerate computers in a NT 4.0 domain?
Dim sDomain, oDomain, oComputer
sDomain = "YOURDOMAINNAME"
On Error Resume Next
Set oDomain = GetObject("WinNT://" & sDomain)
If Err.Number = 0 Then
   oDomain.Filter = Array("computer")
   For Each oComputer In oDomain
      MsgBox oComputer.Name
   Next
End If
Set oDomain = Nothing

'should be run, hth



Sun, 11 Dec 2005 16:31:46 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SQLClientDataSet.ApplayUpdates causes ORA-01722

2. complex math with poi

3. Enumerate Term Profile Path in NT 4.0 domain.

4. Enumerate Term Profile Path in NT 4.0 domain.

5. Enumerating domains & computers via ADSI

6. Question on computers when enumerating the domain

7. Enumerating Domain Names on NT

8. Script to Enumerate server in NT 4 domain.

9. Enumerating Servers in an NT 4 domain

10. HELP WITH TURBO PASCAL HOMEWORK PROBLEM!

11. project

12. HELP A college student!

 

 
Powered by phpBB® Forum Software