Export Windows Scheduled Task Information to File with Command Line
March 1st, 2011 | Published in Automation, Programming
Here is how to Export Windows Scheduled Task Information to File with Command Line:
schtasks /query /fo CSV /v >> scheduled_task_metadata.csv
This will dump a list of scheduled tasks and their advanced settings to a CSV file called “scheduled_task_metadata.cs” to whichever location you run the command prompt from.
If you don’t want the windows scheduled task’s advanced settings included, and you only want to list the name and a few high level scheduled task detail, remove the “/v” portion.
Enjoy.