An Engineers Notebook

PowerShell | Finding and Importing Extensions and Cmdlets

Listing and finding PowerShell modules.

Get-Module -ListAvailable

To import a module.

Import-Module TroubleshootingPack

To find cmdlets within that module:

Get-Command -Module TroubleshootingPack

Find cmdlets that contain a certain keyword

Get-Command -Name *Event* -CommandType cmdlet,function

Finds all “Get” commands with nouns that contain “log”

Get-Command -Verb Get -Noun *log*

Leave a Reply

Your email address will not be published.