PowerTip: Find Commands and Descriptions from Module

Doctor Scripto

Summary: Find commands and their descriptions exported from a Windows PowerShell module.

Hey, Scripting Guy! Question How can I see the commands with their descriptions that are available in a new Windows PowerShell module?

Hey, Scripting Guy! Answer Use the Get-Command (gcm is an alias) cmdlet and specify the module. Then select the name and create
           a custom property to retrieve the description from Get-Help, for example:

gcm -Module psreadline |

select name, @{L='description'; E={(get-help $_).description.text}}

0 comments

Discussion is closed.

Feedback usabilla icon