Quick Actions
Get-Command
Description
Gets all commands that are installed on the computer, including cmdlets, aliases, functions, and workflows.
Command
Get-Command
Examples
Get all commands
Get-Command
Get all commands with the verb 'Get' and noun 'Service'
Get-Command -Verb Get -Noun Service
Get all commands in the Microsoft.PowerShell.Management module
Get-Command -Module Microsoft.PowerShell.Management
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
[-Name <String[]>] |
string | No | Specifies the names of the commands to get. |
[-Module <String[]>] |
string | No | Specifies the modules whose commands are retrieved. |
[-Verb <String[]>] |
string | No | Specifies the verb of the commands to find (e.g., 'Get', 'Set'). |
[-Noun <String[]>] |
string | No | Specifies the noun of the commands to find (e.g., 'Process', 'Service'). |
Command Info
Category:
Core
Type:
Powershell
Views:
14
Status:
Active
Tags
powershell
discovery
cmdlet