1 Reply Latest reply on Jun 26, 2014 6:20 AM by madhavan

    How to add scheduled task using SDK ?

    MathieuJM

      Hi,

       

      We are monitoring Windows server with WMI, when there is no scheduled task configured we can't add the Scheduled Tasks line.

      When we later add a scheduled task to the server we like to use the API to add the monitoring of these task in SAM.

       

      Is the SDK 1.9 able to manage this for the time being ?

       

      Cheers

        • Re: How to add scheduled task using SDK ?
          madhavan

          Hi,

           

          Yes, you can add 'Windows Scheduled Tasks' application assigned to the node for monitoring scheduled tasks.

           

          Example for assigning an application for monitoring is provided in powershell samples @"C:\Program Files (x86)\SolarWinds\Orion SDK\Samples\PowerShell\SAM.Application.ps1"

           

          There are also examples of deleting application, unmanage and remanage application provided in the example script.

           

          Please let us know if you need more details.