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…
A PowerShell Tool Scorecard
This post contains a PowerShell tool-making scorecard: a series of short questions to assess whether your custom cmdlet/function/tool is following some (generally considered) best practice design choices. By "tool-making" I am referring the concept of creating one or more PowerShell functions that are intended to be used by…
PowerShell Core 6.0
PowerShell now comes in two flavours, (Vanilla) Windows PowerShell and PowerShell Core (..Rocky Road? ice cream flavour TBD). PowerShell Core is a version of PowerShell built on top of .NET Core. The GA version of PowerShell Core is due to be released on the 10th January and Release Candidate versions…