PowerTip: Use PowerShell to Obtain Unique List of Process Names

Doctor Scripto

Dr 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

0 comments

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