PowerTip: Produce List of Unique Processes with PowerShell

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to filter out duplicate process names.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily get a unique list of processes running on my local computer?

Hey, Scripting Guy! Answer Use Get-Process to retrieve the processes and pipe the output to Get-Unique:

Get-Process | Get-Unique

0 comments

Comments are closed. Login to edit/delete your existing comments