View Single Post
Old 10-10-2006   #5 (permalink)
klumsy@xtra.co.nz


 
 

Re: accessing the extended type system from C#

yeah, i have been enumeratimng the psobject properties.

Bruce Payette [MSFT] wrote:
> Correct. You can use the properties collection to get all the properties,
> the methods collection to get all the methods or just use the members
> collection to get everything. This works from within PowerShell as well:
>
> PS (116) > (ls)[0].psobject


woah... that a neat trick. its interesting because the psobject
properties doesn't show up in get-member i.e

(ls)[0] | gm doesn't show a psobject property

another supercool trick to add to the collection

My System SpecsSystem Spec