Featured image of post Enumerate Window Titles

Enumerate Window Titles

Enumerate Window Titles

Here is how to enumerate the titles of currently open windows using PowerShell.

1
Get-Process|where{$_.mainWindowTItle}|Select-Object MainWindowTitle

Output Sample

1
2
3
4
5
6
7
8
9
MainWindowTitle
---------------
Windows PowerShell
Internet Explorer
Untitled - Paint
Untitled - Notepad
Task Manager
Windows Input Experience
Document - WordPad
comments powered by Disqus