There is a great script on Windows IT Pro that helps you get a list of all workstations/servers/domain controllers in a domain and then list the Scheduled Tasks that have been configured on these machines.
Essentially, this is how it can be put to use:
- To get a list of DC’s and dump it to a text file, type cscript enumcomputers.js /dc > dclist.txt
- Next, feed this list of DC’s to enumtasks.cmd and ask it to dump a list of scheduled tasks for each DC to another text file: enumtasks dclist.txt >dctasklist.txt
- Open dctasklist.txt in Notepad, any word processor or even Microsoft Excel.