liveBook · Manning

Cmdlet

A cmdlet is a specialized PowerShell command, typically implemented as a .NET class, that performs a focused operation.

How 2 Manning books explain it

Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS

A cmdlet is a specialized PowerShell command that performs a focused operation and is typically implemented as a .NET class.

How it is used
Uses cmdlets as focused PowerShell utilities for interactive administration and later automation.
How deep it goes
Explains definitions, categories, naming, parameters, and discovery, but stops short of implementation details.
Examples
Demonstrates Get-Command, Get-Process, Start-Job, Set-AzVM, and wildcard help searches.
What you can do after
Apply standard naming patterns and wildcard help searches to find, identify, and begin using unfamiliar cmdlets.

Read how Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS explains cmdlet →

Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools

A cmdlet is a specialized PowerShell command implemented as a .NET class for performing a focused operation.

How it is used
Uses focused commands as reusable building blocks for pipelines and larger automation processes.
How deep it goes
Explains cmdlets as .NET-backed wrappers and emphasizes single-task design, but does not detail class implementation steps.
Examples
Uses Get-Process, Stop-Process, logical-disk reporting, and decomposed user provisioning as concrete examples.
What you can do after
Apply cmdlets as focused, composable tools and separate individual tasks from controller-level processes.

Read how Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools explains cmdlet →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.