Skip to content

Instantly share code, notes, and snippets.

@signalwarrant
Created July 14, 2020 15:50
Show Gist options
  • Select an option

  • Save signalwarrant/41074caaa149fa046d8833b0951a6394 to your computer and use it in GitHub Desktop.

Select an option

Save signalwarrant/41074caaa149fa046d8833b0951a6394 to your computer and use it in GitHub Desktop.
# Get all Modules, Functions, Alias' ...etc available on your computer
Get-Command -all
# Search for all cmdlets that contain Service in the noun portion.
Get-command –noun Service
# Search for all cmdlets that contain Stop in the verb portion
Get-Command -Verb Stop
# You can also use the * character as a wildcard
Get-command –noun *azure*
# Search for everything in a module, in this case the Azure Module
Get-Command -Module Azure
# Search the Azure Module for all cmdlets
Get-Command -Module Azure -CommandType Cmdlet
# Search the Azure module for all Alias'
Get-Command -Module Azure -CommandType Alias
# Search the PowerShell core modules for Functions
Get-Command -Module Microsoft.PowerShell* -CommandType Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment