PowerShell script to start or restart a program.
Dev Insight: This script can be helpful for clients with programs that need to be running 24/7, but aren't installed as a Windows service.
This script will start the designated program if it isn't running. To restart an already running program, the
-Restartparameter can be used.
Prerequisites: This script requires no additional setup. Simply deploy it via your RMM.
Want to learn more about how this script works? Included below are official documentation links for all cmdlets used in this script, as well as other useful documentation where applicable.