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