Microcode: PowerShell Scripting Trick: Fun With Parameter Binding: The Fake Parameter Set Trick

I’ve been hearing a lot of questions recently about what things you can do with advanced functions.  People seem to be aching for good examples of using PowerShell V2 functions, and, since I’ve discovered a few handy tricks for advanced functions, I thought I’d start to share them there in a series called “Fun with…

1

Microcode: Scripting Tricks : Exploring WPF Routed Events with PowerShell

Both WPF and PowerShell are both full of great little touches.  One of WPF’s nice touches is Routed Events.  Routed Events allow you to capture events raised by child controls or parent controls.  This can be incredibly useful, because it allows you write less code (which I believe is generally good) by re-using handlers. A…

0

Microcode: All About Modules (Windows PowerShell CTP2)

In a previous post, I showed you how you can debug Windows PowerShell cmdlets and providers in Visual Studio and load them up without using installutil.exe.  This very briefly touched on using the command Add-Module, in this case, to load up an assembly containing cmdlets. This post explains how to use modules, a new feature…

2