Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

There is a DOS command "schtasks" which may be used to return a list of Windows Scheduled Tasks and allow you to save them to a CSV file.

This command has a number of different parameters. First open a command prompt and then use one of the following commands depending upon which information you wish to return:

Example 1
schtasks /query

This produces a list of all the scheduled tasks, including Task Name, Next Run Time and Status.

Example 2
schtasks /query /v /fo LIST

This produces a detailed list of all tasks. This includes additional information such as the task being run, schedule information etc.

Example 3
schtasks /query /v /fo CSV

This produces the information in CSV format with the same detailed information as using the LIST parameter.

Example 4
schtasks /query /v /fo CSV > tasks.csv

Now you just need to add the name of the .csv file using the above command to pipe the list to your nominated .csv file which may then be opened in MS Excel.

  • No labels