The ForEach-Object cmdlet works similarly to the foreach statement, but takes its input from the pipeline.
Basic usage
$object | ForEach-Object {
code_block
}
Example:
$names = @("Any","Bob","Celine","David")
$names | ForEach-Object {
"H...