Summary: Use Windows PowerShell 4.0 Where operator to filter results.
How can I use a Where operator in Windows PowerShell (without using the pipeline or Where-Object)
to filter through processes?
Use Get-Process to group the processes into a collection, then use the Where operator
and filter on the process name, for example:
(Get-process).Where({$_.ProcessName -eq 'winlogon'})