I posted this challenge on the PowerShell Facebook page and Twitter. Below are the varied solutions presented. If you don't want to be influenced by others answers, stop here and try to solve the puzzle. Otherwise, read on. One cool result about posting PowerShell puzzles is you get to seed the different ways people solve it.