Windows
获取序列号
>wmic bios get serialnumber
获取机型信息
>wmic csproduct get vendor,name,identifyingnumber
获取内存信息
wmic memorychip get capacity,manufacturer,devicelocator
wmic 详细介绍
http://sdguoyongtao.blog.163.com/blog/static/16646382020114352033920/
Linux
获取序列号
>dmidecode -s system-serial-number
获取机型信息
>dmidecode -t 1