ParseScheduledTasksXML¶
What ParseScheduledTasksXML does¶
Scheduled task definition review
ParseScheduledTasksXML is a PowerShell parser that recursively reads Windows Task Scheduler XML definitions and exports selected registration, principal, settings and action fields to a timestamped CSV. It turns many individual task files into a table for inspection. The exported task definitions do not prove that a task ran.
- Inventory definitions
Review task name, author, description, principal, logon type and enabled state together. - Expose actions
Bring executable commands, arguments and COM handler identifiers into a sortable CSV. - Focus follow up
Identify definitions that warrant comparison with task files, Task Scheduler logs and surrounding host activity.
A definition is not an execution record
A parsed task shows configured XML at the time collected. It does not alone prove the task executed, who created it, whether its payload existed or whether its purpose was malicious.
Choose your journey¶
Retrieve, verify and stage the PowerShell script without weakening the host permanently.
Complete when script provenance and execution context are recorded.Beginner · PowerShell 02Parse and reviewParse an identified Tasks directory, preserve the CSV and triage it in Timeline Explorer.
Complete when a selected row remains linked to its source task.Practical · Training evidence 03Hands on LabsPractise the command and review workflow or complete an evidence driven Full Lab.
Complete when another analyst can reproduce the result.Guided beginnerHow the workflow fits together¶
Use the source task
Retain the collected task path, size, timestamps and hash. The CSV is derived output; its row must remain attributable to the XML definition it represents.
Read fields together
Task name, principal, logon type, enabled state, action and arguments provide context as a group. A suspicious looking command is a lead, not a verdict.
What the parser exports¶
Useful for attribution leads, naming and task purpose, subject to source reliability.
Shows the configured principal, not necessarily the interactive human responsible.
Supports review of what the task was configured to launch.
Preserves COM handler context where an executable action is not used.
Before you begin¶
Use supplied evidence or an explicitly authorised Windows training host.
Prefer a verified copy of the Tasks directory rather than parsing the live system directly.
Create a separate existing directory for CSV output, notes and hashes.