Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

determine system manufacturer/model

Status
Not open for further replies.

AntunB

IS-IT--Management
Aug 11, 2003
263
AU
is there a way with vbs to determine the system manufacturer and model?
 
Check out information on Windows Management Instrumentation a.k.a. WMI. You can use a SQL like query to get just about any information you need from things like the BIOS, CMOS, System Board, Operating System, etc. It can be used on Windows 98, ME, 2000, XP machines. For 98 you have to install the package. WMI is built in to XP and 2000.


Hope this helps :)

G :)
 
Yup, using WMI:

SystemName = "machine-to-check"

set tmpObj = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & SystemName & "\root\cimv2").InstancesOf ("Win32_ComputerSystem")
for each tmpItem in tmpObj
MakeModel = trim(tmpItem.Manufacturer) & " " & trim(tmpItem.Model)
next
Set tmpObj = Nothing: Set tmpItem = Nothing

msgbox MakeModel
 
thanks for your help

worked great
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top