Jump to content

Software to obtain serial numbers or service Tags on our network


Recommended Posts

Posted

Hi all

 

Presently midway through a comprehensive hardware audit. Have a very accurate idea of what model of kit is assigned to users. Am now looking to obtain service tags and serial numbers. Short of verifying every machine manually is there anything that can resolve these types of detail???

 

Thanks

Posted

We use OCS Inventory NG to automate the collection hardware info, including serial numbers and BIOS version. For Dell machines, the service tag is the serial number reported. This then syncs into our inventory system (GLPI). A bit of a pig to set up, but very reliable. Spiceworks would be likely be a lot easier and give a similar level of hardware detail.

 

Such client-side agents are probably just gathering that info using WMIC.

Running this command will give you the machine's serial number:

wmic bios get serialnumber

Posted

Save the following as a VB script to obtain the service tag of a Dell PC:

 

strComputer = "."Set objWMIService = GetObject("winmgmts:" _& "{impersonationLevel=impersonate}!" & strComputer & "\root\cimv2")Set colSMBIOS = objWMIService.ExecQuery _("Select * from Win32_SystemEnclosure")For Each objSMBIOS in colSMBIOSWscript.Echo "Dell Service Tag: " & objSMBIOS.SerialNumberNext
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...