Tasklist will work on XP Pro machines otherwise you can easily write your own.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colProcessList = objWMIService.ExecQuery _
("Select * from Win32_Process")
For Each objProcess in colProcessList
WScript.Echo objProcess.Name
Next
The script is pretty crude, no sort, and just the basic, no frills information. Save the script with a
vbs extension and run it from the command line:
cscript scriptname.vbsHappy Computing
