windows_automation
Manage Windows scheduled tasks (list, create, delete, run) and execute WMI queries for system information and forensics using schtasks.exe and wmic.exe.
Instructions
Perform Windows Automation operations: Scheduled Tasks and WMI Queries.
RATIONALE: Enables autonomous system orchestration and deep environment forensics. Uses 'schtasks.exe' and 'wmic.exe' for industrial reliability.
Args: action: The automation operation to perform. task_name: Unique name for the scheduled task. task_path: Executable path for the scheduled task (for "create_task"). schedule: Task frequency. start_time: Task start time (format HH:mm). wmi_class: Target WMI class (e.g., 'Win32_Processor', 'Win32_BIOS'). wmi_namespace: WMI namespace for the query. ctx: FastMCP Context for telemetry and sampling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| task_name | No | ||
| task_path | No | ||
| schedule | No | DAILY | |
| start_time | No | 12:00 | |
| wmi_class | No | Win32_OperatingSystem | |
| wmi_namespace | No | root\cimv2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||