wmic baseboard get product | findstr /i /v "product"
wmic cpu get name | findstr /i /v "name"
wmic diskdrive get model | findstr /i /v "model"
wmic cdrom get name | findstr /i /v "name"
wmic desktopmonitor get name | findstr /i /v "name"
wmic memlogical get TotalPhysicalMemory | findstr /i /v "TotalPhysicalMemory"
wmic nic where NetConnectionID="本地连接" get name
wmic sounddev get name | findstr /i /v "name"
Originally posted by 3742668 at 2006-3-22 07:19 PM:
wmic baseboard get product | findstr /i /v "product"
wmic cpu get name | findstr /i /v "name"
wmic diskdrive get model | findstr /i /v "model"
wmic cdrom ...
::使用WMI别名获取PC主要信息.bat
::使用WMI别名获取主要信息,输出为网页格式
::--------by MOBO[墨伯] at 2006-09-16:
wmic baseboard list brief /format:hform >MyPC.htm
wmic cpu list brief /format:hform >>MyPC.htm
wmic bios list brief /format:hform >>MyPC.htm
wmic diskdrive list brief /format:hform >>MyPC.htm
wmic cdrom list brief /format:hform >>MyPC.htm
wmic desktopmonitor list brief /format:hform >>MyPC.htm
wmic memlogical list brief /format:hform >>MyPC.htm
wmic nic list brief /format:hform >>MyPC.htm
wmic sounddev list brief /format:hform >>MyPC.htm
wmic group brief /format:hform >>MyPC.htm
wmic os list brief /format:hform >>MyPC.htm
wmic startup list brief /format:hform >>MyPC.htm