In powershell, how do I check if a program is running by using the full path of the program executable? Or do I need to parse the path to get the process name?
Thanks.
EDIT:
I need to know if the executable “C:\My Temporary Programs\Test 1.exe” is running.
Try this:
So you can do something like: