PowerTip: Produce List of Unique Processes with PowerShell


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

Comments (1)

  1. Albert Roy McFarlane says:

    This information about Powershell is very important because it will certainly help me to focus more on developing scripting as a tool professionally. I have a far way to go in this process. I’m Albert McFarlane.

Skip to main content