Automation · PowerShell Automation
PowerShell Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=5229
Answer
PowerShell fundamentals: cmdlets output objects, the pipeline passes them on, Get-Help and Get-Member explain them, and PowerShell 7 runs cross-platform beside Windows PowerShell 5.1.
Remember
- Cmdlets output objects; the pipeline passes them on.
- PowerShell 7 runs on Windows, Linux and macOS.
- Windows PowerShell 5.1 is still common.
First checks
$PSVersionTable.PSVersion— versionGet-Help <cmdlet> -Full— documentationUpdate-Help— local help
Verify in this order
command → objects → pipeline
Where it usually breaks
Script/input → command/module binding → local/remoting session → request accepted → command result → target object read-back → effective runtime state → workload.
PowerShell Fundamentals · PowerShell operational reference
| Boundary | PowerShell Fundamentals reference |
|---|---|
| Runtime identity | PowerShell edition/version + command/module source |
| Persistent intent | Script/module/config prerequisites under source control |
| Verification | Read-only discovery → execution evidence → independent target read-back |
| Output contract | Structured objects/streams before formatting |
| Failure boundary | Separate engine/binding from transport/API/native and target-state failures |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5229