September 14th, 2015

PowerTip: Find PowerShell Exported Types

Doctor Scripto
Scripter

Summary: Learn how to find Windows PowerShell exported types.

Hey, Scripting Guy! Question How can I easily look at runspace exported types in Windows PowerShell?

Hey, Scripting Guy! Answer Call the Assembly property from the [psobject] type accelerator, and then call the GetExportedTypes() method,
           for example:

[psobject].Assembly.GetExportedTypes()

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback