Windows 7/10 command line show running Applications/windows

To quote Raymond Chen, given the following source: https://blogs.msdn.microsoft.com/oldnewthing/20171219-00/?p=97606

When you go to the Processes tab in Task Manager, you see the processes grouped into three categories: App, Background Process, and Windows Process. How does it decide which process goes into which category?

These are terms that Task Manager simply made up. The system itself doesn't really care what kind of processes they are.

If the process has a visible window, then Task Manager calls it an "App".

If the process is marked as critical, then Task Manager calls it a "Windows Process".

Otherwise, Task Manager calls it a "Background Process".

As the question is regarding "Applications" or "Apps" then we are just considering those with a visible Window.

The following Powershell commands maybe sufficient:

powershell "gps | where {$_.MainWindowTitle } | select Description

as might:

powershell "gps | where {$_.MainWindowHandle -ne 0 } | select Description

Related commands: powershell "gps | select *" will provide a list of properties of a process that could be included in a filter or output.