Essential Interfaces: IDisposable

Ever wondered how to correctly wrap IDisposable types in PowerShell classes? Here's a couple of hints! »

openssl s_client ... but in PowerShell?

One of my favorite SSL/TLS troubleshooting tools is the openssl s_client CLI context - but what if I want to pull peer certificate information from a client that »

Admin Account Schema Extensions for AD

Want to keep track of AD admin accounts without breaking separation of concerns? Look no further! »

Inspecting .NET assemblies with dnlib

Ever wondered what's in a .NET assembly dll? Don't want to load it into the current AppDomain or litter the Global Assembly Cache? Let's see how we can safely explore »

Tracing as a Service with SilkETW, pt I

The ETW (Event Tracing for Windows) subsystem is a veritable gold mine of operational and diagnostic telemetry, but most of the data it produces is sort of a pain to »

Schrödinger's -ArgumentList

Last night on my way home I was feeling slightly mischievous, and so I dropped a #PowerShell brain teaser into the PowerShell Slack/Discord bridge, with a challenge - let's »

Advent of PowerShell 2018, pt II

Advent of Code is a fun christmas serial consisting of 50 small programming challenges. Let's solve them using PowerShell! In this post we'll cover the 2 challenges from December 2nd »

Advent of PowerShell 2018, pt I

Advent of Code is a fun christmas serial consisting of 50 small programming challenges. Let's solve them using PowerShell! In this post we'll cover the 2 challenges from December 1st »

From the archive: Toggle-CapsLock - a PowerShell cmdlet you'll probably never need!

Sometimes you need to shout things out really loud, and on the internet, the medium of choice for shouting is ALL CAPITAL LETTERS - can we enable caps lock from »

So You Think You Can Parse?

PowerShell treats input differently when operating on command arguments - but how can we programmatically force PowerShell to recognize and parse a string in argument mode? Let's find out! Parsing »