Skip to content

Instantly share code, notes, and snippets.

@nemf
Created October 10, 2012 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nemf/3864244 to your computer and use it in GitHub Desktop.
Save nemf/3864244 to your computer and use it in GitHub Desktop.
serial get
@echo off
for /F "skip=1 delims=" %%j in ('wmic bios get serialnumber') do (
set SERIAL=%%j
goto :DONE
)
:DONE
echo %SERIAL%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment