Retrieve the scheduled task's schedule in systems with Task Scheduler 1.0.

This commit references #2167