Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The script attached will allow a restart of iQSonar Service at schedule. Simple validation to check if the service is stopped and if it is it will start it. Same applies for started service which will result in reset. 

The script can run as part of schedule job

Step-by-step guide to create.

  1. go to Task Scheduler and press on Create task
  2. Enter name to identify the job and Make sure the radio button is clicked
  3. Go to Trigger tab and Press new to set up schedule
  4. Follow screenshot to enable the job to run every 1 hour and Press ok
  5. Go to Action tab and press new. Fill out as per screenshot. The main point: in the Add Arguments (optional) -type "location of ps1 script" example "c:\iQSonarCheckService.ps1".
  6. Check the details as per screenshot
  7. Press ok to save.

 



  • No labels