1

For the Task Scheduler -- how to expand the "Show Active tasks" window -- This is for Windows server Enterprise Edition (release date: 2007).

Is there a way to export the data to a .csv file or something similar?

JosephDoggie
  • 229
  • 2
  • 4
  • 14

2 Answers2

2

For Win 8 or 2012 and newer, you can use this:

Get-ScheduledTask | Where State -Like "Running" | Export-Csv -Path path\to\csv

But you can also use cmd prompt:

schtasks /query /FO CSV > path\to\csv

That list will include every Scheduled Task, so you'll either want to use something like Excel's "Filter" tool or use another tool to parse through the output and grab only the rows where the 3rd column contains "Running." A batch file running a for loop would definitely work.

sippybear
  • 3,197
  • 1
  • 13
  • 12
0

I independently found out one can also use Command-line: SCHTASKS /QUERY -- this works on the system that I use.

Source: https://www.tenforums.com/tutorials/65255-export-task-task-scheduler-windows.html

JosephDoggie
  • 229
  • 2
  • 4
  • 14