Workaround for Add-Member on plain .Net objects

Introduction While I was fixing bugs, I came across an interesting bug ( https://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=382818 ) that seemed to have a very simple fix upon first glance. However, after doing some more research, I found out that it was actually very tricky to fix the root cause. If you do the following: $table = @{ key1="val1"; key2="val2" Read More...

Read the complete post at http://blogs.msdn.com/powershell/archive/2009/11/03/workaround-for-add-member-on-plain-net-objects.aspx


Posted Nov 03 2009, 05:57 PM by Windows PowerShell Blog
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.