Windows Service module.
Disable the named service to start at boot
CLI Example:
salt '*' service.disable <service name>
Check to see if the named service is disabled to start on boot
CLI Example:
salt '*' service.disabled <service name>
Enable the named service to start at boot
CLI Example:
salt '*' service.enable <service name>
Check to see if the named service is enabled to start on boot
CLI Example:
salt '*' service.enabled <service name>
Return all installed services
CLI Example:
salt '*' service.get_all
Return the disabled services
CLI Example:
salt '*' service.get_disabled
Return the enabled services
CLI Example:
salt '*' service.get_enabled
Return the sid for this windows service
CLI Example:
salt '*' service.getsid <service name>
Restart the named service
CLI Example:
salt '*' service.restart <service name>
Start the specified service
CLI Example:
salt '*' service.start <service name>
Return the status for a service, returns the PID or an empty string if the service is running or not, pass a signature to use to find the service via ps
CLI Example:
salt '*' service.status <service name> [service signature]
Stop the specified service
CLI Example:
salt '*' service.stop <service name>