Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> or this (ps ax | grep ffmpeg) > > Get-Process | Where-Object { $_.ProcessName -match "ffmpeg" }

The way to write that on the command line Powershell would be:

    ps ffmpeg
Whereas your longer example is what you put in the PS1 file.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: