PowerTip: Use PowerShell to Find Commands from Imported Modules

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find commands from imported modules.

Hey, Scripting Guy! Question How can I use the Get-Command cmdlet to list commands that support a specific verb, but suppress the auto module import feature of Windows PowerShell 3.0?

Hey, Scripting Guy! Answer Use the –ListImported parameter with the Get-Command cmdlet (gcm is an alias for Get-Command):

gcm -Verb get -ListImported 

 

0 comments

Discussion is closed.

Feedback usabilla icon