PowerShell; Use Get-Member to Self Document Nested COM Object

Posted by Zion on Stack Overflow See other posts from Stack Overflow or by Zion
Published on 2010-05-17T13:08:54Z Indexed on 2010/05/17 13:10 UTC
Read the original article Hit count: 166

Filed under:

Anyone know how to use Get-Member to Recursively dump to a text file The entire properties|methods tree of a COM object? (The Output formatting of Get-Object is fine)

Instead of giving me only the top level as in this example;

New-Object -com AutoItX3.Control | Get-Member

I need it to recurse the entire object to return results. If This is not possible, how would I dump the methods/properties of a sub object?

© Stack Overflow or respective owner

Related posts about powershell