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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hardware Auditing 1

Status
Not open for further replies.

iwannabeit

IS-IT--Management
Jun 13, 2006
13
CA
Hi, hopefully this will be an easy one...

What would the be the best solution to scan the hardware(from the server) on our workstations? I can see the workstations on active directory, but when i go in to see the specs that i have to record (OS, Processor, RAM), the device manager doesnt give enough detail, it wont list the proc or anything like that... any ideas or better solutions? thnx in advance

...Hey now...
 
You might want to look at WMI Win32 instances. There are some easy VBscripts that you can put together to query that sort of thing, for example this would get you the operating system for the computer you query.

strComputer = YourComputerName
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")

For Each objOperatingSystem in colOperatingSystems
OS = "Operating System: " & objOperatingSystem.Caption & " " & objOperatingSystem.Version & "&nbsp"
OS_SP = "Service Pack: " & objOperatingSystem.ServicePackMajorVersion & "." & objOperatingSystem.ServicePackMinorVersion
Next

Msgbox OS
Msgbox OS_SP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top