Script Q Serial Number

The following script works great on Dell servers to return tag/serial number information. How do I use a similar script to get the serial number of HP Proliant DL380 servers?

Dim strComputer, objWMIService, colItems, objItem strComputer = InputBox('Please enter the computer name or IP Address of a Dell machine:','Computer Name or IP Address') Set objWMIService = GetObject('winmgmts: ' & strComputer & ' root cimv2') Set colItems = objWMIService.ExecQuery('SELECT * FROM Win32_BIOS',,48) For Each objItem In colItems MsgBox 'Dell Service Tag: ' & objItem.SerialNumber Next MsgBox 'Finished' Select all. The same script should work, but typically depends on that information being populated in the BIOS.

Has anyone had success with retrieving monitor serial numbers remotely and have them add to inventory? Monitor Serial Number. The script will probably be. Im trying to write a simple script to rename each pc on the network to PC-RV- and the serial number. So for example PC-RV-DHXS970. I have found the article on how to rename a PC to the serial, ie.

There are numerous free products that scan remote systems and return the information. You might try WMI Asset Logger, it is a program that I wrote and is free (no spy/nag). Anyway I'm not here to SPAM the forums so if you want to try just google it.

You might also try getting the asset tag, I know this works for Dell, and HP. Use the same code you posted above, changing Win32_BIOS to 'Win32_SystemEnclosure' and change objItem.SerialNumber to objItem.SMBIOSAssetTag.

Number

Asset tags are not always included, but they tend to show up on Dells. You might try this one, I tried this on my LAN and found a few IBMs that held the serial information in this class, unfortunately I do not have any HP servers (although that truly shouldn't matter, the same IBMs also had the serial number under Win32_BIOS.SerialNumber) Have you tried to query any other WMI based information from the same system? Super mario 64 emulator download free version StrComputer = '.'