I know the command tasklist
is able to show running processes.
What I want the command line to show only running applications.
Is there such a command on Windows or is there a way to get this list by build-in tasklist's filter?
EDIT #1
At Windows Task Manager, there is a tab called Applications (in Windows 10, it's under: Processes > Apps). How do I get that exact list of apps in the command line?
EDIT #2
What I mean by "applications" are basically opened window name. As stated in Edit #1, in the Windows Task Manager they call it Applications thus I used that word.
powershell "gps | ? {$_.mainwindowhandle -ne 0} | select ProcessName | ft -hide"
but I like your solution more. Also thanks for the blog link, now I know how do Windows categorize the processes into 'Apps'. Please write it as an answer and I will accept it.