PowerShell Basics

Unlocking the new Power in the Microsoft Shell
September 7th, 2008

Adding Custom Properties To PowerShell Objects Just Got Easier

Jeffrey Snover just blogged about working around the Add-Member syntax by extending the System.Object type (which all types inherit from) with a script property called PSAddMember(), which allows you to add NoteProperties (the most common addition to objects) more easily ands supports other scenarios too.

Check it out here.

Leave a Reply