Learn about Windows PowerShell
Summary: Use Windows PowerShell to list type accelerators.
How can I find a list of type accelerators available in Windows PowerShell?
Use the Get property from TypeAccelerators class:
Wouldn't a shorter version be: [accelerators]::Get
There isn't a type accelerator for that. You would have to do this in order to get a type accelerator available.
$accelerator = [PSObject].Assembly.GetType('System.Management.Automation.TypeAccelerators')
$null = $accelerator::Add('accelerator',$accelerator)
Thanks for the tips!
According to this very blog (http://blogs.technet.com/b/heyscriptingguy/archive/2013/07/08/use-powershell-to-find-powershell-type-accelerators.aspx),
it was at one point possible to use [accelerators]::get, as @Burt Harris suggested:
"But Windows PowerShell 3.0 also introduces a type accelerator for type accelerators. Yep, and it is very easy to use. Here is the command: [accelerators]::get ..."
What ever became of that?