PowerTip: Find Commands Exported by PowerShell Module

The Scripting Guys

Dr

Summary: Find commands that are exported by a Windows PowerShell module.

Hey, Scripting Guy! Question How can I see what commands a Windows PowerShell module provides?

Hey, Scripting Guy! Answer There are two quick ways to find commands exported by a Windows PowerShell module.

The first expands the ExportedCommands property from a module (gmo is an alias for the Get-Module cmdlet):

gmo PSReadline | select -ExpandProperty exportedcommands

The second uses the Get-Command cmdlet (gcm is an alias for Get-Command):

gcm -Module PSreadline

The Scripting Guys
Dr Scripto

Follow Dr   

No Comment.