mixed win32_query_service_status    ( string $servicename   [, string $machine  ] )

win32_query_service_statusQueries the status of a service

servicename

The short name of the service.

machine

The optional machine name. If omitted, the local machine will be used.