PowerTip: Use PowerShell to List Exported Types


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

}

Comments (0)

Skip to main content