Whether you are a developer or an operations person, registering a new service is one of those things you don't do very often. PowerShell, again, makes it very easy to create a new service, with or without parameters, using different credentials if necessary.
Registering a new Windows service
Getting ready
Install and start PowerShell Core.
How to do it...
Please perform the following steps:
- For a new service, we first of all need a binary that interacts with the service controller—the application you interact with when executing the venerable sc.exe, as per...