Extract Windows serial number from BIOS

Recently I needed to reinstall Windows on a system and, unfortunately, I had lost the serial number. Using two simple Linux bash commands, I managed to find the serial number embedded into the computer’s BIOS. This is easy to accomplish on any computer and/or laptop that comes with Windows OS preinstalled.