Created
February 19, 2024 14:28
-
-
Save doneykoo/afc33ea7433cd3c0eaa51ec9ebf84ffa to your computer and use it in GitHub Desktop.
show device system infomations, like cpu bios os serial numbers and identifers, with wmic, on windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: CPU序列号 | |
wmic cpu get processorid | |
:: 主板序列号 | |
wmic baseboard get serialnumber | |
:: BIOS序列号 | |
wmic bios get serialnumber | |
:: 操作系统序列号 | |
wmic os get serialnumber | |
:: 机器名, 机型 | |
wmic computersystem get name, model | |
:: 系统产品,序列号 | |
wmic CSPRODUCT | |
:: 磁盘序列号 | |
wmic diskdrive get serialnumber | |
:: context | |
wmic context | |
:: wmic help list | |
wmic /? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment