A) Obtain Service Tag locally with command line:
wmic csproduct get vendor,name,identifying number
B) Obtain Service Tag remotely with command line
wmic /user:domain\administrator /node:remote-host bios get serialnumber
You will be prompted for the password for account administrator.