List Running Images

I wanted to generate a list of running processes. But, instead of getting 300 Firefox processes, this PowerShell one-liner lists each image uniquely.

Get-Process | Select-Object -Property Name,Path | Sort-Object -Property Path -Unique                                         

Name                           Path
----                           ----
(sd-pam)                       
chrome_crashpad_handler        /opt/vivaldi/chrome_crashpad_handler
Vivaldi-Zygote                 /opt/vivaldi/vivaldi-bin
pwsh                           /snap/powershell/261/opt/powershell/pwsh
akonadi_akonotes_resource      /usr/bin/akonadi_akonotes_resource
akonadi_archivemail_agent      /usr/bin/akonadi_archivemail_agent
...

References

=> Get-Process | Microsoft Learn | Get-Member | Microsoft Learn | Select-Object | Microsoft Learn | Sort-Object | Microsoft Learn

Created: Saturday, January 13, 2024

Updated: Saturday, January 13, 2024

Proxy Information
Original URL
gemini://pwshnotes.flounder.online/gemlog/2024-01-13-list-process.gmi
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
687.540083 milliseconds
Gemini-to-HTML Time
0.489105 milliseconds

This content has been proxied by September (ba2dc).