0%

VBS 脚本查询电脑产品编号

1
2
3
4
5
6
7
8
9
10
11
12
set oShell = wscript.CreateObject("WScript.shell")
QueryValue = ReadReg("HKLM\\HARDWARE\\DESCRIPTION\\SYSTEM\\BIOS\\SystemSKU")

WScript.Echo QueryValue


Function ReadReg(RegPath)
Dim objRegistry, Key
Set objRegistry = CreateObject("Wscript.shell")
Key = objRegistry.RegRead(RegPath)
ReadReg = Key
End Function
觉得文章有用?请我喝杯咖啡~