get_service_states
Check the active status, configuration, and state of Windows and Linux system services locally or on remote hosts.
Instructions
Fetch the active status, configuration, and state of system services. Supports Windows and Linux services.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| services | Yes | List of service names to query (e.g., ["nginx", "ssh", "postgresql"]) | |
| targetHost | No | Optional remote target host (e.g., user@hostname) |