KACE Scripting: Verify a Process is NOT running
I'm trying to build a script for an uninstall/install and want to verify that Outlook is not running before trying to run the uninstall. I have it set to verify that OUTLOOK.exe is not running, test it on a machine with Outlook running (that has had its inventory updated and shows in the Running Processes of the device detail page that OUTLOOK.exe is running, but the script "succeeds", reporting that Outlook is not running, when indeed it is running. Here's what my script looks like:
I'm sure I'm missing something stupid, so forgive me for that in advance...
Any tips or suggestions anyone has will be appreciated.
Please log in to answer
Posted by: jfrank 7 years ago