Chapter4/4.2_ObjectOperation/Select-Object/Select-Object_ForEachObject.ps1

Get-Process | Where-Object Name -like pw* | ForEach-Object {[pscustomobject]@{Name=$_.Name; CPU=$_.CPU; WS=$_.WS; WSmb =[int]($_.WS / 1MB)}}