The following VBS Script can be used to remotely get the Dell Service Tag from another computer on your network.
Output:
When you run the script it will prompt for the remote computer name:
After entering the computer name and clicking ‘OK’ it will return a prompt which includes the Dell Service Tag:
VBS Script:
on error resume next strComputer=InputBox ("Enter the computer name of the computer or server","Prompt Required",".") Set objWMIservice = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") set colitems = objWMIservice.ExecQuery("Select * from Win32_BIOS",,48) For each objitem in colitems tmp = inputBox ("Dell Service Tag: " & objitem.serialnumber, "Dell Service Tag",objitem.serialnumber) Next