Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PS > $items = Get-JobSchedulerTaskHistory -Job /testsos/globalsdailyplan/job1CreateDailyPlan

Returns today's task execution history for a given job.

...

PS > $items = Get-JobSchedulerTaskHistory -JobChain /testsos/globalsdailyplan/job_chain1CreateDailyPlan

Returns today's task execution history for jobs in the given job chain.

...

PS > $items = Get-JobSchedulerTaskHistory -Directory /test sos -Recursive -Succesful Successful -Failed

Returns today's task execution history for any completed tasks from the "/testsos" directory and any sub-folders recursively.