## Given a list of windows services
- Start each of them
- Configure each of them to start automatically, but with a delay
- On failure, restart the service
```powershell
$services = ("OctopusDeploy Tentacle","seq","tcagent")
foreach ($service in $services){
Start-Service -Name $Service
sc.exe config $Service start= "delayed-auto"
sc.exe failure $service reset= 86400 actions= restart/5000/restart/5000/reboot/5000
}
```