Cake.Services

Windows Services addin for Cake.

#addin nuget:?package=Cake.Services&version=1.0.1

dotnet add package Cake.Services --version 1.0.1

<PackageReference Include="Cake.Services" Version="1.0.1" />

Aliases

Windows service aliases.

General

CanServicePauseAndContinue(string, string) Checks if the named service can be paused and continued
CanServicePauseAndContinue(string) Checks if the named service can be paused and continued
CanServiceShutdown(string, string) Checks if the named service can be shutdown
CanServiceShutdown(string) Checks if the named service can be shutdown
CanServiceStop(string, string) Checks if the named service can be stopped
CanServiceStop(string) Checks if the named service can be stopped
ContinueService(string, string, int) Continues a named service
ContinueService(string, string) Continues a named service
ContinueService(string) Continues a named service
ExecuteServiceCommand(string, int) Executes a command on a named service
ExecuteServiceCommand(string, string, int) Executes a command on a named service
GetService(string, string) Gets the System.ServiceProcess.ServiceController that is associated with an existing service on the specified computer.
GetService(string) Gets the System.ServiceProcess.ServiceController that is associated with an existing service on the specified computer.
GetServices(string) Gets a list of System.ServiceProcess.ServiceController on the specified computer.
GetServices() Gets a list of System.ServiceProcess.ServiceController on the specified computer.
GetServiceStatus(string, string) Gets the System.ServiceProcess.ServiceControllerStatus status of a service on the specified computer.
GetServiceStatus(string) Gets the System.ServiceProcess.ServiceControllerStatus status of a service on the specified computer.
InstallService(InstallSettings) Installs a service on a computer
InstallService(string, InstallSettings) Installs a service on a computer
IsServiceContinuing(string, string) Checks if the named service is continuing
IsServiceContinuing(string) Checks if the named service is continuing
IsServiceInstalled(string, string) Checks if the named service is installed
IsServiceInstalled(string) Checks if the named service is installed
IsServicePaused(string, string) Checks if the named service is paused
IsServicePaused(string) Checks if the named service is paused
IsServicePausing(string, string) Checks if the named service is pausing
IsServicePausing(string) Checks if the named service is pausing
IsServiceRunning(string, string) Checks if the named service is running
IsServiceRunning(string) Checks if the named service is running
IsServiceStarting(string, string) Checks if the named service is starting
IsServiceStarting(string) Checks if the named service is starting
IsServiceStopped(string, string) Checks if the named service is stopped
IsServiceStopped(string) Checks if the named service is stopped
IsServiceStopping(string, string) Checks if the named service is stopping
IsServiceStopping(string) Checks if the named service is stopping
PauseService(string, string, int) Pauses a named service
PauseService(string, string) Pauses a named service
PauseService(string) Pauses a named service
RestartService(string, string, int) Restarts a named service
RestartService(string, string) Restarts a named service
RestartService(string) Restarts a named service
StartService(string, string, int, string[]) Starts a named service
StartService(string, string, int) Starts a named service
StartService(string, string) Starts a named service
StartService(string) Starts a named service
StopService(string, string, int) Stops a named service
StopService(string, string) Stops a named service
StopService(string) Stops a named service
UninstallService(string, string) Uninstalls a service from a computer
UninstallService(string) Uninstalls a service from a computer