Managing Windows Services - Delete/Add

 First things first, lets delete cause that's super easy and before I delete anything I make sure to create backups. What I'm looking to do is expand a system like topshelf where it can just manage it remotely for me but using devops can be tricky.

//delete command
sc.exe delete <service name>
or Ps way
Remove-Service -Name "TestService"

Note: curious about the registry but its better to use sc.exe.


sc create asperacentral 
binPath= "C:\Program Files\Aspera\Enterprise Server\bin\Debug\asperacentral.exe" 
DisplayName= "Aspera Central" 
start= auto

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql