Hi, recently i needed a Stop/Start Script within my Veeam Backup Task.

I have a Webserver with Apache/Tomcat Database. There are 4 Windows Services which i need to Stop before the Backuptask can start and after the Backupjob ended the Script needs to start up the Services.

I created this Powershellscript, which stops 2 Services. Because it takes a little time to stop them i build in a Timeout “Start-Sleep”, 15 for 15 seconds after this it takes down the 2 remaning services.

Thats it, have fun with it 😉