Get List of Type Accelerators

by Jan 10, 2013

Ever wondered what the difference between [Int], [Int32], and [System.Int32] is? They all are data types, and the first two are type accelerators, so they are really all the same.

To list all the type accelerators PowerShell provides, use this undocumented (and unsupported) call:

PS> [PSObject].Assembly.GetType("System.Management.Automation.TypeAccelerators")::Get

Twitter This Tip! ReTweet this Tip!