PowerTip: Produce List of Unique Processes with PowerShell

Doctor 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


Discussion is closed.

Feedback usabilla icon