Good! Does this look right?
Code:
$arraycomputers='@wksta','other computers'
$processes='long list of procs'
For Each $computer in $ArrayComputers
For Each $proc in $processes
If Ping($Computer,0,1)
EnumProcess($proc, , $Computer)
$=SendMessage(@wksta,$computer +' is running '+ $proc)

Else

$=SendMessage(@WKSTA,$computer +' was not able to be pinged. It is unavailable.')
EndIf
Next
Next
Exit


^After running, there's definitely something hosed with this code!!


Edited by Brockett (2005-04-18 09:11 PM)