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?

  • Ironically, it seems to expand if one clicks on "Task Status" which seems counter-intuitive. However, if anyone has a better or more complete answer, please post. I personally cannot find any convenient way to export the data. – JosephDoggie Oct 11 '18 at 19:13
  • 1
    Windows server Enterprise Edition 2007 - I've never heard of that. – joeqwerty Oct 11 '18 at 19:53
  • @joeqwerty -- Well it's "Enterprise Edition" and it is dated 2007. I edited the post to clarify this. – JosephDoggie Oct 11 '18 at 20:09
  • 1
    That would probably be Windows Server 2008. – Davidw Oct 11 '18 at 20:46
  • 1
    You can check by running get-wmiobject win32_computersystem | select name in Powershell. – Davidw Oct 11 '18 at 20:54

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.

  • The scheduled tasks cmdlet doesn't exist in Server 2008. – Davidw Oct 11 '18 at 22:31
  • @Davidw Oops, didn't know that. Thanks! I'll update to use cmd instead. – sippybear Oct 11 '18 at 22:51
  • It's not version dependent, but OS dependent. (I have 5.1 on my Windows 2008R2 VM, and it's not listed.) – Davidw Oct 11 '18 at 23:46
  • @Davidw hopefully accurate now? – sippybear Oct 11 '18 at 23:53

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.