Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Get event data from event triggered task ====== * Create task * Export task into XML * Add the following: into Task/Triggers/EventTrigger <code xml> <ValueQueries> <Value name="User">Event/EventData/Data[@Name='TargetUserName']</Value> <Value name="Computer">Event/EventData/Data[@Name='TargetDomainName']</Value> </ValueQueries> </code> * Reimport the task * Use $(User) and $(Computer) as variable names windows/misc/task_schedule_trigger_on_event_and_get_data.txt Last modified: 2022/11/08 13:05by 127.0.0.1