Chapter4/4.2_ObjectOperation/ForEach-Object/ForEach-Object.ps1

foreach($item in @(1,2,3,4)){
    $item * $item
}
@(1,2,3,4) | ForEach-Object {$_ * $_}