Wednesday, March 22, 2006

Which namespace?

A question popped up today: "What's the best way to find out the namespace of various types?". Of course the framework documentation is handy here but another great way is to just use monad :)

[AppDomain]::CurrentDomain.GetAsesmblies() foreach { $_.GetTypes(); } where { $_.Name -like "SecurityIdentifier" }

0 Comments:

Post a Comment

<< Home