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 {}

}

0 comments

Leave a comment