本地服务器硬件信息获取指令wmic

Posted 磨叽开发者

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了本地服务器硬件信息获取指令wmic相关的知识,希望对你有一定的参考价值。

获取Bios序列号

wmic bios list full | find "SerialNumber"

SerialNumber=P50168VB

 

获取CPUID(WIN32_PROCESSOR)

wmic cpu list full | find "ProcessorId"

ProcessorId=BFEBFBFF000306B9

 

获取DMI的UUID(WIN32_COMPUTERSYSTEMPRODUCT)

wmic  CSPRODUCT list full | find "UUID"

UUID=8FF4BB08-1B74-11E5-8500-441C3E291000

 

 

WMIC命令

ALIAS
BASEBOARD
BIOS
BOOTCONFIG
CDROM
COMPUTERSYSTEM
CPU
CSPRODUCT
DATAFILE
DCOMAPP
DESKTOP
DESKTOPMONITOR
DEVICEMEMORYADDRESS
DISKDRIVE
DISKQUOTA
DMACHANNEL
ENVIRONMENT
FSDIR
GROUP
IDECONTROLLER
IRQ
JOB
LOADORDER
LOGICALDISK
LOGON
MEMCACHE
MEMORYCHIP
MEMPHYSICAL
NETCLIENT
NETLOGIN
NETPROTOCOL
NETUSE
NIC
NICCONFIG
NTDOMAIN
NTEVENT
NTEVENTLOG
ONBOARDDEVICE
OS
PAGEFILE
PAGEFILESET
PARTITION
PORT
PORTCONNECTOR
PRINTER
PRINTERCONFIG
PRINTJOB
PROCESS
PRODUCT
QFE
QUOTASETTING
RDACCOUNT
RDNIC
RDPERMISSIONS
RDTOGGLE
RECOVEROS
REGISTRY
SCSICONTROLLER
SERVER
SERVICE
SHADOWCOPY
SHADOWSTORAGE
SHARE
SOFTWAREELEMENT
SOFTWAREFEATURE
SOUNDDEV
STARTUP
SYSACCOUNT
SYSDRIVER
SYSTEMENCLOSURE
SYSTEMSLOT
TAPEDRIVE
TEMPERATURE
TIMEZONE
UPS
USERACCOUNT
VOLTAGE
VOLUME
VOLUMEQUOTASETTING
VOLUMEUSERQUOTA
WMISET

 

以上是关于本地服务器硬件信息获取指令wmic的主要内容,如果未能解决你的问题,请参考以下文章

wmic

bat-批处理--dos----wmic命令

windows查看硬件信息命令

Qt 程序中获取 CPUID UUID 等系统信息的方法(win 平台,wmic)

Qt 程序中获取 CPUID UUID 等系统信息的方法(win 平台,wmic)

WMIC