dmidecode is famous for dumping a wall of text. If you only want one thing, such as the BIOS version before a firmware update, there is a flag that prints just that.
sudo dmidecode -s bios-version
-s (--string) takes a keyword and prints only that value, with no headers around it. Some keywords I find useful:
bios-vendorandbios-versionsystem-product-namebaseboard-product-nameprocessor-version
sudo dmidecode -s system-product-name
The caveat: you can use only one keyword per call, and -s can’t be combined with -t. A wrong keyword makes dmidecode print the list of valid ones and exit with an error, which is a decent way to see them all. On multi-CPU machines processor-version can return more than one line.
Also, on Linux most of these values live in /sys/devices/virtual/dmi/id, and the man page says most of those files are readable without root. For a quick look in a script, cat /sys/devices/virtual/dmi/id/bios_version may be all you need.
A small script that prints the product name and BIOS version of each machine makes a nice inventory, especially when the BIOS version is what a vendor’s support page asks for.
Further reading: dmidecode man page