PowerTip: Use PowerShell to List Exported Types

Doctor Scripto

Dr Scripto

Summary: Boe Prox shows how to use Windows PowerShell to list exported types.

Hey, Scripting Guy! Question How can I use Windows PowerShell to list all of the exported types?

Hey, Scripting Guy! Answer Use this command:

 [appdomain]::CurrentDomain.GetAssemblies()|ForEach {

    Try {

        $_.GetExportedTypes()

    } Catch {}

}

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment