If you want to use WMI to check if 'notepad.exe' is running, then you are almost there.
Equals Select * FROM Win32_Process WHERE name = 'notepad.exe'
This will result in a PASS if the criteria is met. Additionally, you can change "Equals notepad.exe" to "Not Equals notepad.exe" if you need the check to fail if the criteria is met.
Message was edited by: Robert Rodriguez on 10/5/10 6:12:51 PM CDT