Step 1. I want to use a powershell step to check to see if a program is open. I would use an exit code of 1 if the program is currently open or an exit code of 0 if the program is not open.
If exit code of 1 do: Step 2. If the program is open I want to display a message informing the user that the program will be updated in 5 mins. Then continue to step 3. If exit code of 0 do: Step 2. If the program wasn't open continue to step 3.
Step 3. Uninstall program Step 4. Install program.
Please sign in to leave a comment.