How to get a list of PowerShell functions in a newly installed PowerShell package from the PowerShell Gallery?
I just installed a package via Install-Module -Name ModuleName
. I would like to be able to explore all the functionality from this package. Such as all functions I could call in that package from my scripts.
Get-Command -Module <ModuleName>
For example:
Install-Module -Name PSScriptAnalyzer
Get-Command -Module PSScriptAnalyzer
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-ScriptAnalyzerRule 1.23.0 PSScriptAnalyzer
Cmdlet Invoke-Formatter 1.23.0 PSScriptAnalyzer
Cmdlet Invoke-ScriptAnalyzer 1.23.0 PSScriptAnalyzer