1 title: Check Windows Task Scheduler
7 The Windows Task Scheduler Checks controlls the last return state of windows task scripts.
8 The check goes to {WARNING} state, if the task is disabled. If the Script from the Task returns
9 another return code as "0", "1", "267009", "267014", "267045", "-2147216609", "-2147750687"
10 the Check goes {CRITICAL}.
11 In order to run, its needed to copy the windows_tasks.ps1 script to the plugin folder of the agent.
14 One service will be created for each enabled task