You'll want to start toning your skills with Bash and other POSIX shells like AT&T ksh, zsh, and dash if you ever wish to do serious scripting for work... either that, or start learning Python. That is, unless you already have those under your belt. Apology in advance if you already do... I just couldn't understand switching to Fish after already having those skills. If you do, and you then switched to Fish, what was the benefit of that? Just curious.
I'm guessing with dmidecode? I'll read the article when I get back home... but usually I find such info with dmidecode.