>>How about WMI?
>
>Good idea. Can you please give me a script file?
>
>Thanks.
Instead of scripting
Check this:
http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en:-)
You should translate the generated script to everything you need.
objWMIService = GetObject("winmgmts:\\.\root\CIMV2")
colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Process",,48)
For Each objItem in colItems
? "-----------------------------------"
? "Win32_Process instance"
? "-----------------------------------"
? "Name: " + objItem.Name
Next
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.