Listing Cmdlets by Snap-In

by Oct 13, 2009

While Get-Command delivers a list of available cmdlets, sometimes you'd like to find out which new cmdlets come from a specific snap-in. Let's say you have downloaded and installed a new snap-In and would like to know its new cmdlets. Simply use the secret -PSSnapin parameter and specify the snap-in name (or a part of it).

Get-PSSnapin lists all loaded snap-ins. For example, to see which cmdlets are located in the snap-in Microsoft.PowerShell.Management do this:

Get-Command -pssnap *management

Twitter This Tip! ReTweet this Tip!