Finding Type Definitions

by Jul 12, 2011

PowerShell enhances many .NET types and adds additional information. These changes are defined in xml files. To list all .NET types that get enhanced by default, use this:

Select-XML $env:windir\System32\WindowsPowerShell\v1.0\types.ps1xml -Xpath /Types/Type/Name | Select-Object -expand Node | Sort-Object

 

Twitter This Tip!
ReTweet this Tip!