wmic 常用的获取计算机信息的命令

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

posted @ 2023-02-20 13:43  后山人  阅读(625)  评论(0编辑  收藏  举报