PowerTip: Find PowerShell Cmdlets Supplied by Module

Doctor Scripto

Dr Scripto

Summary: Find Windows PowerShell cmdlets that are supplied by a specific module.

Hey, Scripting Guy! Question How can I easily see all the cmdlets that ship with the Hyper-V module.?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet, and specify the Hyper-V module.
(Tab expansion works for module names, which is great because who can remember if Hyper-V has a hyphen?)

Get-Command -Module Hyper-V

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment