命令提示下:cpu信息
wmic cpu get name^,extclock^,cpustatus^,description/value
显示器型号及分辨率
wmic desktopmonitor get name^,screenwidth^,screenheight^,pnpdeviceid/value
硬盘信息
wmic diskdrive get model^,interfacetype^,size^,totalsectors^,partitions/value
声卡
wmic sounddev get name^,deviceid/value
主板
wmic baseboard get manufacturer^,product^,version^,serianumber/value
在批处理命令里面跑的时候输出格式始终不对,加上findstr过滤一下就正常了,不清楚原因....
CPU信息
wmic cpu get Name,MaxClockSpeed,NumberOfCores,NumberOfLogicalProcessors | findstr ".*"
磁盘信息
wmic diskdrive get model,interfacetype,size,totalsectors,partitions | findstr ".*"
分区信息
wmic logicaldisk get Caption,FileSystem,FreeSpace,Size |findstr -v "X:"
内存信息
wmic memorychip get BankLabel,Capacity,DeviceLocator,Manufacturer,Tag | findstr ".*"
网卡信息
wmic nic get Availability,MACAddress,Name,PhysicalAdapter | findstr -v "FALSE"