Thornster
Mon Nov 14 08:48:32 CST 2005
Using a vb script to create the file:
Set fso=CreateObject("Scripting.FilesystemObject")
Set fileOutput = fso.CreateTextFile("AdPCList.txt",False)
Set ntDomain = GetObject("WinNT://YOURDOMAIN.ORG")
ntDomain.Filter = Array("Computer")
For Each eachPc In ntDomain
fileOutput.Writeline eachPc.Name
Next
fileOutput.Clos
-
Thornste
-----------------------------------------------------------------------
Posted via
http://www.codecomments.co
-----------------------------------------------------------------------