PowerShell recognizes four types of commands in this order of precedence:
- Aliases: Shortened names for cmdlets (
ls for Get-ChildItem)
- Functions: User-defined commands written in PowerShell
- Cmdlets: Compiled .NET classes that follow verb-noun syntax
- External executables: Traditional command-line programs
You can use Get-Command to identify command types and find available commands.