A couple of quick things.. first off, big thanks to Breaker! I ran into this script earlier today because someone asked for a script like this and he linked to this thread.

I put this script in place w/ a few minor variations, and I thought I would add one that a lot of people might have a need for.

Here goes.. I don't post much, so don't hate me if something goes wrong [Smile]

The majority of our PC's are Dell, and dell likes to use "Service Tags"... these tags weren't being displayed in the serial number field, so I added the following statements.

Variables:

$ServiceTag = WMIQuery("serialNumber","Win32_SystemEnclosure")
$AssetTag = WMIQuery("SmBiosAssetTag","Win32_SystemEnclosure"

Writes to the DB:

$Recordset.Fields("ServiceTag").Value = $ServiceTag
$Recordset.Fields("AssetTag").Value = $AssetTag

At any rate, like I mentioned thanks a ton for the hard work it took to get this together Breaker!