wmic os get systemdirectory # 获取系统的安装路径
wmic bios get serialnumber # 获取主板的序列号
wmic cpu get name # 获取CPU的名字
wmic computersystem get model # 获取计算机的型号
wmic computersystem get totalphysicalmemory # 获取内存大小
wmic diskdrive get model # 获取硬盘型号
wmic logicaldisk get description,name # 获取硬盘描述及分区名称
获取系统序列号:wmic bios get serialnumber
获取C盘容量:wmic logicaldisk get size
获取内存容量:wmic memorychip get capacity
获取cpu信息:wmic cpu get name
获取主板信息:wmic baseboard get product,manufacturer,version
获取显卡信息:wmic path Win32_VideoController get name
获取电源信息:wmic path Win32_Battery get BatteryStatus
标签:name,get,获取,计算机信息,wmic,序列号,cpu From: https://www.cnblogs.com/zhuhuibiao/p/17137091.html