The serviceManagement.ps1 script has functionality to interact and setup Windows services
serviceManagement.ps1