Windows WMIC查看CPU info

WMIC扩展WMI(Windows Management Instrumentation,Windows管理工具) ,提供了从命令行接口和批处理脚本执行系统管理的支持。记录WMIC查看CPU的方法。也是自己常用的方法。
WMIC进入方法:CMD-WMIC

cpu list brief

输出信息如下:
在这里插入图片描述

cpu list config

输出信息如下:
在这里插入图片描述
获取CPU name,也是CPU的型号:

cpu get name

在这里插入图片描述
获取cpu核心数:

cpu get NumberOfCores

在这里插入图片描述
获取cpu线程数:

cpu get NumberOfLogicalProcessors

在这里插入图片描述
当然,还可以通过cpu get获取计算机name:cpu get systemname。

猜你喜欢

转载自blog.csdn.net/weixin_37813152/article/details/122063628