This works for me. My computers are NT and 2k. If KIXRPC is running, may work on 9x, anyway, give it a try.

1. Code for your computer service tag:
code:
$DellBIOS = GetObject("winmgmts:").ExecQuery("select * from Win32_BIOS")
if @error <> 0
? @error + " / " @serror ? ? shell "%comspec% /c pause"
else
for each $Item in $DellBIOS
$SerNum = $Item.SerialNumber
next
endif
? ? "Dell Service Tag: $SerNum" ? ? shell "%comspec% /c pause"
exit

2. Code for service tag on a remote computer is the same except you change the 1st line to:
code:
$DellBIOS = GetObject("winmgmts://RemoteComputerName or IPAddress").ExecQuery("select * from Win32_BIOS")

3. You can add the code to your logon script and have a file created each time a computer is logged onto; then, you can create another script to extract the information from the created files. You will need to insure the location where you are collecting the files have read/write permissions for group "everone." I recommend creating a hidden share (shareName$) for the location (\\serverName\shareName$), also with read/write permissions.
Here is my login script code.
code:
$DellBIOS = GetObject("winmgmts:").ExecQuery("select * from Win32_BIOS")
if @error = 0
for each $Item in $DellBIOS
$manuf = $Item.Manufacturer
$SerNum = $Item.SerialNumber
next
if $manuf = "dell computer corporation"
shell "%comspec% /c echo @wksta#@userid#$SerNum > \\serverName\shareName$\BIOS_@wksta"
endif
endif
exit



[ 20. February 2003, 23:33: Message edited by: BoxKite ]
_________________________
Box
FACTA NON VERBA