win32_query_service_status
(PECL win32service >=0.1.0)
win32_query_service_status — Queries the status of a service
Parameters
servicename
-
The short name of the service.
machine
-
The optional machine name. If omitted, the local machine will be used.
Errors/Exceptions
A ValueError is thrown if the
value of servicename parameter is empty.