Exploring Cmdlets Added by Snap-ins

You will find cmdlets available in PowerShell can come from two sources: PowerShell-SnapIns and (new in v.2) modules. Try this to see which cmdlets are available and where they come from:

Get-Command -commandType Cmdlet |
Sort-Object PSSnapin, Module |
Format-Table Name, PSSnapin, Module

Twitter This Tip! ReTweet this Tip!


Posted Oct 12 2009, 08:00 AM by ps1
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.