Created
January 13, 2022 15:56
-
-
Save maciakl/6fd1a17030af3376bf3c5993cc3d6f41 to your computer and use it in GitHub Desktop.
Get the service tag (Dell) or vendor assigned serial number of your computer. This returns just the number, without other wmic output.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| for /f "skip=1" %%a in ( | |
| 'wmic bios get serialnumber' | |
| ) do echo %%a & goto next | |
| :next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment