Basically I was searching for solution to list all running processes which have open windows, and one solution was frequently mentioned (in PowerShell):
gps | where {$_.mainwindowtitle}
and I thought, this command listed firstly all running processes and filtered based on criterium mainwindowtitle == True?
However, there is no such a column called mainwindowtitle in the output of either 'gps (get-process)' or 'tasklist' (at least what as output was printed in the terminal) and is it invisible or is the way i understood the code wrong?
Any advice or suggestion will be appreciated.