Cmdlets
Cmdlets are specialized, lightweight commands in the PowerShell environment that perform a single function. They are typically implemented as .NET-based binary commands compiled into modules and loaded into a PowerShell session. In practice, a cmdlet is discovered and invoked through the PowerShell runtime, and cmdlets participate in pipelines by sending and consuming objects. PowerShell also supports advanced functions that mimic cmdlets, but true cmdlets are implemented as compiled code and loaded from modules.
Most cmdlets follow a Verb-Noun naming convention, such as Get-Process, Set-Item, or Remove-Item. The naming is
Input and output: Cmdlets typically output .NET objects, not text, enabling downstream cmdlets to operate on
Development and usage: Developers create cmdlets in C# or other .NET languages and package them into modules.
---