Finding Built-In Cmdlets

by Nov 13, 2012

In times where cmdlets can originate from all kinds of modules, it sometimes becomes important to find out which cmdlets are truly built into PowerShell and which represent external dependencies.

One way of getting a list of built-in cmdlets is to temporarily open another runspace and enumerate its internal cmdlet list:

$ps = [PowerShell]::Create()

Twitter This Tip! ReTweet this Tip!