使用 tasklist 命令可以列出所有正在运行的进程
[JavaScript] 纯文本查看 复制代码 C:\Users\Administrator>tasklist
映像名称 PID 会话名 会话# 内存使用
========================= ======== ================ =========== ============
System Idle Process 0 Services 0 8 K
System 4 Services 0 164 K
Registry 272 Services 0 65,700 K
smss.exe 816 Services 0 1,556 K
csrss.exe 1016 Services 0 7,100 K
wininit.exe 1084 Services 0 8,844 K
csrss.exe 1092 Console 1 7,492 K
services.exe 1160 Services 0 12,776 K
lsass.exe 1168 Services 0 32,012 K
winlogon.exe 1244 Console 1 14,040 K
svchost.exe 1380 Services 0 34,084 K
fontdrvhost.exe 1412 Services 0 5,036 K
fontdrvhost.exe 1416 Console 1 12,296 K
底部状态栏中打开的程序通常是带有窗口的应用程序。可以使用以下 PowerShell 命令:
[JavaScript] 纯文本查看 复制代码 Get-Process | Where-Object { $_.MainWindowHandle -ne 0 } | Select-Object ProcessName, MainWindowTitle
[JavaScript] 纯文本查看 复制代码 PS C:\Users\Administrator> Get-Process | Where-Object { $_.MainWindowHandle -ne 0 } | Select-Object ProcessName, MainWindowTitle
ProcessName MainWindowTitle
----------- ---------------
360ChromeX 用什么命令可以获取到电脑正在运行的程序有哪些?_精易论坛 - 360极速浏览器X 22.3
explorer
MEmuConsole 逍遥多开器
TextInputHost Windows 输入体验
WindowsTerminal C:\WINDOWS\system32\cmd.exe - PowerShell
|