Echo Serial Number

Serial

I have a list of 100+ serial number.What I want to do is: checking if the serial number of the computer I'm working on is in the list.Is it possible to do this in Windows batch script ?

QuangQuang

PB-265L: With the unit OFF, look on the side of the unit, in the area below the air filter cover and next to the hip mount throttle handle. The model and serial number are on a black and white sticker that is attached to the lower orange blower housing.

Echo Serial Number

3 Answers

no need to iterate through every line in the file:

StephanStephan

This command-line show the BIOS SerialNumber in my computer (Windows 8):

You may test it and adjust it until get what you want. For example:

EDIT: I modified the program in order to include the serial numbers in the Batch file; I also used the modification in wmic parameters suggested by Stephan:

AaciniAacini

No need for a FOR loop if you use your list as the search strings and WMIC BIOS output as the target. I believe the serial number is always 10 characters, so no /I option is needed. But if the serial number length can vary, then the /I option is required due to a FINDSTR bug: Why doesn't this FINDSTR example with multiple literal search strings find a match?

You can suppress the output of the serial number to the screen by redirecting the FINDSTR output to nul using >nul.

Community

Echo Serial Number Cmd

Serial number idm
dbenhamdbenham

Echo Dot Serial Number

Not the answer you're looking for? Browse other questions tagged batch-file or ask your own question.