Configuration Manager Current Branch: How to collect information from the Task Scheduler

Duchemin, Dominique 2,006 Reputation points
2023-04-20T23:50:09.2233333+00:00

Hello, I have the need to collect the information from the Task Scheduler for several purposes:

  1. to verify all task have the same parameters date/time... for a specific task
  2. to verify the task exist or not I saw several posts on this: https://learn.microsoft.com/en-us/answers/questions/175515/sccm-to-query-task-scheduler https://social.technet.microsoft.com/Forums/en-US/f6914e9b-94e9-4efe-8a0c-34e5b1d93347/inventory-of-scheduled-tasks?forum=configmgrgeneral I copied the article Syntax from this article https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-scheduledjob in a new xxxx - Win32_ScheduleJob.mof file now I will try to import it ... Thanks, Dom
Microsoft Configuration Manager
{count} votes

6 answers

Sort by: Most helpful
  1. AllenLiu-MSFT 44,496 Reputation points Microsoft Vendor
    2023-04-21T09:24:58.9833333+00:00

    Hi, @Duchemin, Dominique

    Do you find the information for the Task Scheduler in registry? And then use the tool RegKeyToMof to get the mof file?

    https://askgarth.com/blog/how-to-use-regkeytomof/


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.