Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Display Titles of Windows

$
0
0

Summary: Boe Prox shows how to use Windows PowerShell to find the titles of windows.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find the titles of windows?

Hey, Scripting Guy! Answer Use Get-Process and display the title of the processes for windows by looking at
           the MainWindowTitle property, for example:

Get-Process | Where {

    $_.MainWindowTitle

} |

Select-Object ProcessName, MainWindowTitle

 

ProcessName          MainWindowTitle                                             

-----------                     ---------------                                             

ApplicationFrameHost People                                                      

chrome               Browse by Tags - Hey, Scripting Guy! Blog - Site Home - Te...

mstsc                Remote Desktop Connection                                   

notepad              Untitled - Notepad                                          

PeopleApp            People                                                      

powershell           [x64] | BOE-PC\boepr on BOE-PC | PowerShell GC Memory: 25....

powershell_ise       Windows PowerShell ISE                                      

SnagitEditor         Snagit Editor - [Dec 20, 2015 4:55:14 PM]                   

WinStore.Mobile      Store                                                       

WINWORD              Manage Window Placement using Pinvoke.docx [Compatibility ...


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>