If you need to lookup a service tag for a Dell server running Windows, it is possible as shown below;
C:\Users\Administrator>wmic csproduct get vendor,name,identifyingnumber
IdentifyingNumber Name Vendor
2B7115J PowerEdge R610 Dell Inc.