Featured image of post 列舉視窗標題

列舉視窗標題

列舉視窗標題

以下是如何使用 PowerShell 列舉目前開啟的視窗標題。

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

輸出範例

1
2
3
4
5
6
7
8
9
MainWindowTitle
---------------
Windows PowerShell
Internet Explorer
未命名 - 小畫家
未命名 - 記事本
工作管理員
Windows 輸入體驗
文件 - WordPad
comments powered by Disqus
使用 Hugo 建立
主題 StackJimmy 設計