SystemName = "localhost"
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
Discussion of tips, tricks, and other useful information about technology. May include topics on software applications, hardware, and operating systems.
Showing posts with label model number. Show all posts
Showing posts with label model number. Show all posts
Thursday, May 16, 2013
VBS Script to pull Computer/Server Model information
Subscribe to:
Posts (Atom)