Version 1

    This is a sample script showing how to pull basic statistics from the pi-hole application (https://pi-hole.net/) running on a Raspberry Pi. IMPORTANT: Since Powershell doesn't run on Raspberry Pi, you have to set this template to run in "agentless" mode, which you do by opening the "advanced" options 5 (or so) lines below this description. More information on the pi-hole API can be found here: https://discourse.pi-hole.net/t/pi-hole-api/1863 Use at your own risk. This script is intended for testing and educational purposes only. Do not hold the author, the author's company, or the author's dog responsible for any hair loss, poor coffee quality, or lingering childhood trauma.