Go to All Forums

Windows Scheduled Task

Windows Scheduled task monitor (with alerting).

There are documented issues with this plugin which is mentioned in both these links




Currently error is displayed

Execution Error :: ERROR: The system cannot find the file specified.You cannot call a method on a null-valued expression.At C:\Program Files (x86)\Site24x7\WinAgent\monitoring\Plugins\ScheduledTask\ScheduledTask.ps1:68 char:9+ $temp = ($jobDetails | Select-String -Pattern $atribute| Sele ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + F

Like (1) Edit Delete Reply
Replies (1)

Re: Windows Scheduled Task


Please confirm if the task name mentioned in the script file (variable name is $taskName) is as per the below format. In the Task Scheduler,

  • If the Location contains only '\', mention the task name in the script as name of the task alone.
  • If the Location is like '\Apple' and the name of the task is 'Test1', mention the task name in the script as '\Apple\test1'.

Hope this helps. Let us know for further questions, if any, in the below thread.



Hisham Thorakkal

Like (0) Reply

Was this post helpful?