Host (Windows): detect serial number and UUID

This commit is contained in:
李通洲
2024-01-05 22:44:40 +08:00
parent 6bcd75835e
commit 21f3875c4f
11 changed files with 104 additions and 17 deletions
+12 -2
View File
@@ -842,10 +842,20 @@
"default": "default"
}
},
{
"long": "host-use-wmi",
"desc": "Set if WMI query should be used on Windows when detecting host",
"remark": "WMI query detects more information (UUID and serial number) but is slower. Windows only",
"arg": {
"type": "bool",
"optional": true,
"default": false
}
},
{
"long": "chassis-use-wmi",
"desc": "Set if WMI query should be used on Windows",
"remark": "WMI query detects more information but is slower. Windows only",
"desc": "Set if WMI query should be used on Windows when detecting chassis",
"remark": "WMI query detects more information (vendor and version) but is slower. Windows only",
"arg": {
"type": "bool",
"optional": true,