Invoke-ConditionalShutdown.ps1

Windows natively won’t let you schedule a system shutdown, but there are plenty of posts on the Internet that show you how to create a Scheduled Task that will do that for you. Having recently added a solar+battery setup to our home, I’ve been on a (belated) mission to reduce our overnight power consumption, and …

Continue reading ‘Invoke-ConditionalShutdown.ps1’ »

PRTG – No module named ‘requests’

We use Paessler’s “PRTG” monitoring and reporting software for keeping tabs on everything here. We’ve increasingly started writing scripts in Python to serve as “sensors”, feeding data into PRTG, but we’ve hit a couple of road-blocks on the way. ModuleNotFoundError: No module named ‘requests’ If you encounter this error, or any similar ones reporting “no …

Continue reading ‘PRTG – No module named ‘requests’’ »