I’m so spoiled on using TopShelf that I don’t know anymore on how to remove a Windows Service the old fashioned way.
If you have Powershell 6 or higher, you can do the following:
Remove-Service –name “Your Service Name”
An alternative is to directly use the Service Control Manager:
sc.exe delete "Your Service Name"
Don’t forget the ‘.exe’ when invoking the Service Control Manager inside a Powershell command window.
More information: https://docs.microsoft.com/en-us/dotnet/framework/windows-services/how-to-install-and-uninstall-services