Archive for September 7th, 2008

Adding Custom Properties To PowerShell Objects Just Got Easier

Scripting September 7th, 2008

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.

blank