The command is
sc create [Service Name] binPath= [Service Path] DisplayName= [Display Name]
Service Name: The unique name you want to give to the instance of the service.
Service Path: The complete path to the service exe file, including the exe file
Display Name: Name you want to display in the Windows Services app.
NOTE THAT THERE MUST BE A SPACE AFTER EACH EQUALS SIGN.
For examplesc create MyServiceName binPath= "C:\My Location\MyService.exe" DisplayName= "My Service 02"
To delete a registered instance of a service usesc delete [Service Name]
To alter the description for the service use
sc description [Service Name] "Your new Description"