There are a few comments to make about using the pipeline but one of the obvious issues I saw from the games was this type of approach $p = Get-Process $p | where {$_.Name -like "powershell*"} The only time this is valid is if you need to access exactly… Read the full text.