PowerTip: Use PowerShell to Get Unique List of Process Names

Doctor Scripto

Summary: Use Windows PowerShell to get a list of unique process names.

Hey, Scripting Guy! Question How can I use Windows PowerShell to obtain a list of all the unique process names running on my system?

Hey, Scripting Guy! Answer Use the Get-Process cmdlet, pipe the results to the Select-Object cmdlet, and specify the Name property
           and the –Unique switch:

Get-Process | select name -Unique


Discussion is closed.

Feedback usabilla icon