InstallService


InstallService
    [-serviceName] <String>
    [-exePath] <String>
    [-startupType] <String>
    [-serviceDisplayName] <String>
    [-serviceDescription] <String>

Description

Install a service which will run an exe.

Example


InstallService -serviceName "MySvc" -exePath "/Path/To/exe.exe" -startupType "Automatic" -serviceDisplayName "My Service" -serviceDescription "Service that does stuff"