Starts Stops or Restarts a service with it's dependent services in concurrency using jobs, also works with services without dependencies.
There are ~three steps to this process:
- Stop the dependent child services
- Restart the parent services
- Start the dependent child services
Name of the Service, not the display name.
ServiceName
Updates throughout the process.
Version: 1.0 Author: BattleBugs Creation Date: 01/01/2014 Purpose/Change: Initial script development
Restart-Service -ServiceName "MySQL"