PowerTip: Find Commands from a PowerShell Module

Doctor Scripto

Summary: Learn how to find specific types of commands from a Windows PowerShell module.

Hey, Scripting Guy! Question How can you list only cmdlets from a module that make new stuff?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet with the Module parameter, and specify the New verb (gcm is an alias for Get-Command):

gcm -Module hyper* -Verb new

0 comments

Discussion is closed.

Feedback usabilla icon