I'm trying to implement a scheduled task in Windows 10. The task is triggered by multiple events, I want to pass the event ID that triggered the task to the action. So I have the following value query: <ValueQueries> <Value name="eventID">Event/System/EventID</Value> </ValueQueries> And the arguments in the ExecAction: <Arguments>--event $(eventID)</Arguments> [...] read more