Watch for changes with PowerShell
I recently needed to make a change to the membership of an Active Directory group which was enforced via Puppet. While waiting for the Puppet manifest to apply I used Get-ADGroupMember in PowerShell to check if the change had taken effect. Finding that it had not, I then wrote a…
Keep PowerShell Core updated on Windows with Chocolatey
PowerShell Core is the cross-platform version of PowerShell that runs on Windows, Mac and Linux. If you are not familar with it, check out my previous blog post on the topic. It's likely that PowerShell Core will see more regular releases than we've had historically with Windows PowerShell. While you…
How to create a Grafana metrics dashboard via Influx and PowerShell
This blog post describes how you can use the open source tools Influx and Grafana along with a PowerShell module I've authored on Windows to create and populate interactive metric and monitoring dashboards like this one: (-- note that all the graph labels and legends from the above screenshot have…
Using Puppet Classes, Roles, Profiles and Templates
This post explores the Puppet topics of Classes, Roles and Profiles as well as how to utilise Puppet Template files. The class keyword is a key Puppet building block. There are various different ways to utilise the class keyword and these are explored below. This is a continuation of a…
Using Puppet Modules, Forge and r10k on Windows
This blog post explores the topic of Puppet Modules for packaging and sharing code. It also looks at how you can use Puppet's public module repository Forge to find existing modules and how you can use the r10k module management tool to update, manage and maintain them on your machines.…