Cake.Services

Windows Services addin for Cake.

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

<package id="Cake.Services" version="0.3.6" />

dotnet add package Cake.Services --version 0.3.6

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

Aliases

Windows service aliases.

General

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