Concept Flow - ForEach-Object for iteration
Input Collection
ForEach-Object Start
Take One Item
Run ScriptBlock on Item
Output Result
More Items?
Yes→Take One Item
No
End
ForEach-Object takes each item from a collection, runs a block of code on it, outputs the result, and repeats until all items are processed.