Just found/customized this little snippet to allow me to get any Dell service tag over the network:
strComputer = WScript.Arguments.Item(0)
Set objWMIservice = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2”)
set colitems = objWMIservice.ExecQuery(“Select * from Win32_BIOS”,,48)
For each objitem in colitems
Wscript.echo “Dell Service Tag: ” & objitem.serialnumber
Next
Put that in a .vbs file, call it from a command line via:
cscript yourfile.vbs computername
Requires NetBIOS and WMI admin rights for the computer you’re querying (and resolution of that name, of course)