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 »

Fun with Select-Object (and ProxyCommand)

PowerShell's "calculated properties" and the Select-Object cmdlet makes transforming objects in the middle of an operation fairly easy, and I certainly use it all the time - but can we »

.NET Generics Par L'Exemple: Array Rotation

As you might be aware, I'm a huge .NET fanboy, and so today we're not going to talk about PowerShell, but about a core feature of my first love in »

Replicate a single object without repadmin.exe

How can I delete an active directory computer account object and instantly replicate the object deletion on another Domain Controller? - Let's find out! What happens during "replication"? Anyone with »

Extending the ADUserCache class

The ADUserCache class that we wrote previously seems to be a pretty good base to start from, let's see what else we can do with it. Extending our cache class »

Simulating Faulty Windows Services

A friend of mine wants to simulate a faulty Windows Service, so today we'll talk about something other than PowerShell... okay maybe we'll talk a little bit about PowerShell as »