Services:getServiceStatus
Method
Purpose
This method gets the current status of the specified Microsoft Windows service(s). If the Service parameter is blank or set to ALL then all installed Microsoft Windows services are returned. If a specific service is specified then only that Microsoft Windows service is returned.
Type
Synchronous, IMPACT_INFO.
Arguments
Name |
Type |
Description |
Service |
String |
Internal name of Microsoft Windows service |
Returns
Name |
Type |
Description |
Service |
String |
Microsoft Windows service internal name. *Table is indexed on Service. |
Display Name |
String |
Microsoft Windows external display name |
Service Type |
String |
The type of the Microsoft Windows service. The service types are:
|
Current State |
String |
The current state of the Microsoft Windows service. The service states are:
|
Win32 Exit Code |
Integer |
The error code of the last error returned by the Microsoft Windows service. |
Exit Code Description |
String |
The description of the last error returned by the Microsoft Windows service. |
Service Exit Code |
Integer |
The service specific return code from the Microsoft Windows service. |
Controls Accepted |
String |
The control commands accepted by the Microsoft Windows service. If more than one control is specified they are listed in blank-delimited format. The controls accepted may be any combination of the following:
|
Check Point |
Integer |
The last check point of the Microsoft Windows service |
Wait Hint |
Integer |
The last wait hint suggested by the Microsoft Windows service |