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

PowerTip: Produce List of Unique Processes with PowerShell

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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