I do this so frequently that I finally put it into a script called Get-WindowTitle.ps1 . Get-Process |where {$_.mainWindowTItle} |format-table id,name,mainwindowtitle –AutoSize Here is what it does: [4696:0]PS> Get-WindowTitle Id Name MainWindowTitle -- ---- --------------- 2448 mmc Server Manager 4696 powershell Administrator: Windows PowerShell 3828 powershell_ise Administrator: C:\Windows\System32
Read More...
Read the complete post at http://blogs.msdn.com/powershell/archive/2009/05/22/get-visibleprocess-ps1.aspx
Posted
May 22 2009, 01:34 PM
by
Windows PowerShell Blog