Taking Pipeline Input

A parameter marked [Parameter(ValueFromPipeline)] receives each object that comes down the pipeline, a process block runs once for each of them, and begin and end run once before the first and after the last, for the setup and the totals.

Updated

Cheat sheet for the lesson Taking Pipeline Input: A parameter marked [Parameter(ValueFromPipeline)] receives each object that comes down the pipeline, a process block runs once for each of them, and begin and end run once before the first and after the last, for the setup and the totals.
Category
PowerShell
Level
Freelancer
Tags
begin-process-and-end-blocks, object-pipeline, pipeline-input-binding, powershell, valuefrompipeline