This condition tests certain properties of a Windows service.
Standard Properties
See Standard Condition Properties.
Advanced Properties
Advanced Properties
Database
Specifies the service control database to be operated on. By default, this is the active service control database on the target system.
Operator
|
exists |
True if the service exists. |
|
does not exist |
True if the service does not exist. |
|
is paused |
True if the service is in a paused state. |
|
is running |
True if the service is currently running. |
|
is stopped |
True if the service is not currently running. |
Service Name
The name of the service to perform the action on. This can be the internal or the display name of the service. If the display name is given, it will automatically be translated to the internal service name for the action.
System
Specifies the name of the system on which the command should be invoked. By default, this is the local system.