【转】https://www.cnblogs.com/-sylar/p/8376621.html
1. 开始-运行-输入:wbemtest 回车
2. 单击"连接", 输入:root\cimv2 回车; 或者ROOT\SecurityCenter
3. 单击"查询", 输入:
SELECT * FROM Win32_Process 应用; 或者SELECT * FROM AntiVirusProduct
//程序:
SELECT * FROM Win32_Product;
//进程PID
SELECT * FROM Win32_Process;
//BIOS信息
SELECT * FROM Win32_ComputerSystemProduct;
//磁盘列表
SELECT * FROM Win32_LogicalDisk;
//主板信息
Select * from Win32_BaseBoard;
//光驱
Select * from Win32_CDROMDrive;
//BIOS
Select * from Win32_BIOS;
//操作系统
SELECT * FROM Win32_OperatingSystem;
//服务列表
SELECT * FROM Win32_Service;
//内存
Select * from Win32_PhysicalMemory;
//键盘信息
Select * from Win32_Keyboard;
//Modem
Select * from Win32_POTSModem;
类名列表
Win32_UserAccount
Win32_GroupUser
Win32_Share
Win32_NTLogEvent
Win32_DiskPartition
Win32_ComputerSystem