Reading and Writing to Dell BIOS with PowerShell

22 Feb

Just a quick PowerShell script to set the BIOS admin password for Dell machines.

For deeper configuration, you can then use Dell Command Configure Wizard, which I will cover later, but as an initial setting I this script does the job.

In an attempt to emulate LAPS, each machine has its own unique BIOS password which is a shortened version of the hash of the serial number. Not ideal, but it stops them all being exactly the same, but wouldn’t take a genius to work it out (so my code below is NOT what I’m actively using, just in case!)