This article has information on locating the service tag using Command Prompt.
2. Scroll to the right till you get to Command Prompt.
3. On the Command Prompt window, type wmic bios get serialnumber.
4. Hit enter.
5. Service Tag would be displayed.
Refer to the image below:
Article ID: SLN268357
Last Date Modified: 09/25/2017 04:51 AM