diff --git a/templates/front/base_docs.html b/templates/front/base_docs.html index 5c825bf5..a57fee22 100644 --- a/templates/front/base_docs.html +++ b/templates/front/base_docs.html @@ -15,6 +15,7 @@
  • Node
  • PHP
  • Browser
  • +
  • PowerShell
  • Email
  • diff --git a/templates/front/docs.html b/templates/front/docs.html index fe46eba7..12cb5b1f 100644 --- a/templates/front/docs.html +++ b/templates/front/docs.html @@ -134,6 +134,28 @@ thing: they fire off a HTTP GET method.

    {% include "front/snippets/browser.html" %} + +

    PowerShell

    +

    + You can use PowerShell + and Windows Task Scheduler to automate various tasks on a Windows system. + From within a PowerShell script it is also easy to ping healthchecks.io. +

    +

    Here is a simple PowerShell script that pings healthchecks.io. +When scheduled to run with Task Scheduler, it will essentially +just send regular "I'm alive" messages. You can of course extend it to +do more things.

    + +{% include "front/snippets/powershell.html" %} + +

    Save the above to e.g. C:\Scripts\healthchecks.ps1. Then use +the following command in a Scheduled Task to run the script: +

    + +
    +powershell.exe -ExecutionPolicy bypass -File C:\Scripts\healthchecks.ps1
    +
    +

    Email