that's an awesome function radimus. now how would I grab an array of processes to evauluate running EnumProcess() against them? Is there a function to put all running processes into an array?

Code:
$Procs		= "select * from Win32_Process where"
$ProcArray = GetObject($winmgmts).ExecQuery($Proc)



???


Edited by thepip3r (2005-09-14 09:28 PM)