I need help making a command that retrieve the dependent services of a given service and allow the user
to stop or start them. I need to allow our users to enter a name of a service and an action of ‘start’ or
‘stop’. I’m targeting a single service name so the parameter has to be mandatory.
If anyone has a script or could help steer me in the right direction, that would be appreciated.