Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Get Unique List of Process Names

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>