Featured image of post How to Enumerate and Retrieve Currently Open Window Titles Using PowerShell

How to Enumerate and Retrieve Currently Open Window Titles Using PowerShell

Explains how to easily enumerate and retrieve the titles of all currently open windows on your PC using PowerShell. Introduces this in an easy-to-understand way for beginners, complete with actual commands and output samples.

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