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

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment