First off, I'm not a sysadmin but a developer.
We're performing some system maintenance that will require our production servers to be offline for a period of ~14 hours. I've been tasked with making sure that any/all scheduled tasks (and there are hundreds across the domain) that were "missed" during that time frame be executed once we're back online.
I'm assuming that there's a relatively easy way to query for scheduled tasks that will execute during a certain time frame, but have no idea how to do this.
We have tasks that run on intervals from 5 minutes to 2 years, so I'd prefer a query of some sort (Powershell or schtasks.exe?) that will simply display the ones that will execute during a particular 14 hour window.
Anyone have any idea around this?
My only idea at this point is to have schtasks.exe dump all the tasks and then do some kind of parsing of results, but that's seems...icky.
Thanks in advance.