As you may know, there are 2 APIs to manage scheduled tasks in Windows: schtasks (used by normal GUI interface) and wmi class win32_scheduledjob.
These 2 APIs do not work well with each other. Win32_ScheduledJob class can not access the jobs created by schtasks and jobs created via Win32_ScheduledJob class only have a very limited number of properties. Additional, schtasks cannot modify the jobs created by Win32_ScheduledJob class.
Because of this limitation in the WMI class Win32_ScheduledJob, I was unable to collect Scheduled jobs data in SMS 2003. Therefore I've written a powershell script to connect to every server in a given OU in the given domain and use schtasks to inventory the scheduled jobs on each machine.
The report is in CSV file and the script also email out the report. At work, I've scheduled this to run on a weekly basis. this is particularly helpful when you need to update service accounts and troubleshoot account lockout issues.
Before you run it, please make sure you update the script with your domain, OU, SMTP server, sender, recipient info. and the account you use to run it must have admin access to all the servers....
Cheers
Tao