PoshTip #30 – Get All The Cmdlets Of A PowerShell Module
Sometime you need to know which cmdlets are imported by a specific PowerShell module. To get this list, first you need to import the module (PSReadLine module for example):
PS > import-module PSReadline
And then,17 run the following command:
PS > get-command -module PSReadline CommandType Name Version Source ----------- ---- ------- ------ Function PSConsoleHostReadline 1.1 PSReadline Cmdlet Get-PSReadlineKeyHandler 1.1 PSReadline Cmdlet Get-PSReadlineOption 1.1 PSReadline Cmdlet Remove-PSReadlineKeyHandler 1.1 PSReadline Cmdlet Set-PSReadlineKeyHandler 1.1 PSReadline Cmdlet Set-PSReadlineOption 1.1 PSReadline
Thanks for reading! You can follow me on Twitter @PrigentNico