Procedure Start service if stopped (by service name)
This procedure will execute a start service command on a named service. With the addition of wildcards you can make sure this script will continue to function properly even when the service in question changes between version numbers or small name updates. This can be really useful for software that is occasionally renaming services across updates.
There is also logging features built in so you can track when this script ran and if it was successful or not.
Edit line 2 of script to set a match filter for the Service Name. Wildcard ‘*’ can be used in the match filter. Results are printed to the procedure log. Can report using $start<your match filter>$.
Search For More Scripts
View More results...