用powershell 获取windows窗口标题
2009-06-01 09:23
344 查看
获取windows 所有进程窗口的标题
命令如下
Get-Process |where {$_.mainWindowTItle} |format-table id,name,mainwindowtitle –AutoSize
显示如下:
PS C:\Documents and Settings\Administrator> Get-Process |where {$_.mainWindowTIt
le} |format-table id,name,mainwindowtitle –AutoSize
Id Name MainWindowTitle
-- ---- ---------------
1932 cutftp32 没有连接 - GlobalSCAPE, Inc. - CuteFTP 5.0 XP
5148 iexplore 百度一下,你就知道 - Microsoft Internet Explorer
4332 isqlw SQL 查询分析器 - [打开表 —122.224.199.238.a0515134943.dbo.P...
1988 powershell C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
原文
命令如下
Get-Process |where {$_.mainWindowTItle} |format-table id,name,mainwindowtitle –AutoSize
显示如下:
PS C:\Documents and Settings\Administrator> Get-Process |where {$_.mainWindowTIt
le} |format-table id,name,mainwindowtitle –AutoSize
Id Name MainWindowTitle
-- ---- ---------------
1932 cutftp32 没有连接 - GlobalSCAPE, Inc. - CuteFTP 5.0 XP
5148 iexplore 百度一下,你就知道 - Microsoft Internet Explorer
4332 isqlw SQL 查询分析器 - [打开表 —122.224.199.238.a0515134943.dbo.P...
1988 powershell C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
原文
相关文章推荐
- Python脚本获取Windows窗口标题,输出到命令行
- Python脚本获取Windows窗口标题,输出到命令行
- [置顶] 基于要素(标题、父、类型、进程、控件id)获取windows窗口
- 【Windows程序设计】获取窗口的各种尺寸
- Windows 下 根据进程名获取进程ID 以及该进程下所有窗口的句柄
- C++ Windows 下 根据进程名获取进程ID 以及该进程下所有窗口的句柄
- windows下tomcat指定命令窗口标题
- DELPHI GetWindowText - 获取窗口标题
- windows获取其他程序窗口的内容
- Windows 7桌面显示图标窗口句柄的获取
- windows获取控制台窗口的句柄
- 对于windows窗口的标题菜单栏的操作——删除/禁用 最小最大话和关闭
- 获取窗口标题
- powershell 批量获取windows 硬盘使用量
- 在java程序中如何能获取到另一个程序的windows句柄,又如何使用这个句柄向这个窗口发送消息
- 获取所有打开的窗口的标题
- windows窗口程序,获取当前文件夹下的“preview”结尾的png,转换成1位的bmp
- WIN API-VFP获取第三方窗体的控件信息(句柄,窗口ID,进程ID,类名,标题
- Windows根据程序标题查找正在运行的程序的HWND--判断窗口程序是否运行
- 获取所有顶层窗口的句柄,类名及标题数组