Get-Command
Find a cmdlet by name
Get-Command -Name *Item
- Works on
- WindowsLinuxmacOS
- PowerShell
- 5.1 and later
- Reference
- Microsoft Learn: Get-Command
Discovery. Wildcards work. -Verb Get lists Get-* commands. -Noun Service lists *-Service.
Try this
Get-Command -Verb Get -Noun Content
Coming from another shell
| Shell | What you might type |
|---|---|
| bash / zsh | which git |
| cmd.exe | where git |
More in From bash and From cmd.