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 Comment

You must be logged in to post a comment.

blank