Selasa, 01 Maret 2016

PowerShell v2 Function Get TypeAccelerators

I totally pilfered this from Hal who seems to have gotten it from Shay Levy.  All I am doing here is wrapping it in a function so I can get it more easily when I want to remember what I can use:
function Get-TypeAccelerators {
[PSObject].Assembly.GetType(System.Management.Automation.TypeAccelerators)::Get.GetEnumerator() | sort key | select key
}
This is totally a place holder so I can remember it later. Not pretending I came up with it...

lamsim

About lamsim

Author Description here.. Nulla sagittis convallis. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.

Subscribe to this Blog via Email :