Archives by date

You are browsing the site archives by date.

Where to go for PowerShell help…

Here it is. According to my observations, this is the list of places where I recommend you seek help for PowerShell related quandaries, in order of the speed of response. The first two are practically a tie, but I have put them in this order because the first is just a much better place to [...]

A WPF Countdown Timer in PowerShell 2.0

Well, it’s been awhile since I posted anything, and this causes me angst. I’ve been spending all of my time lately on PoshCode.org — not writing content, but working on a new Asp.Net MVC-based back-end (on codeplex) — but in the meantime, this month PoshCode.org finally passed this site’s raw pageview count, and it made [...]

PowerShell April Fools Pranks

Harmless 1..100|%{"`a"} Awesome, and mostly harmless (2.0 only) $SWA = Add-Type -M ‘ [DllImport("user32",EntryPoint="ShowWindowAsync")] public static extern bool S(IntPtr h, int i);’ -name SWA -pass ps | ?{ $pid -eq $_.Id } | % { $SWA::S($_.MainWindowHandle,0) } while ($true) {    $handles = ps | %{ if([int]$_.MainWindowHandle){$_.MainWindowHandle} }    $handles | %{ $SWA::S($_,0) }  # [...]