From f9c1a174b70494d0f102382cf010b224ee0b52be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C4=93teris=20Caune?=
+ 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 ++