- A cmdlet is a lightweight command that is used in the PowerShell environment
- Commands for PowerShell are known as cmdlets. Cmdlets are native PowerShell commands. In addition to cmdlets, PowerShell allows you to run any command available on your system
- Cmdlets are collected into PowerShell modules that can be loaded on demand
- Cmdlets can be written in any compiled .NET language or in the PowerShell scripting language itself
- A cmdlet is a single command that participates in the pipeline semantics of PowerShell. This includes binary (C#) cmdlets, advanced script functions, CDXML, and Workflows.
- Cmdlets perform an action and typically return a Microsoft .NET object to the next command in the pipeline
- The PowerShell runtime invokes these cmdlets within the context of automation scripts that are provided at the command line (also invokes them programmatically through PowerShell APIs)