OSD – BIOS upgrade during OS Deployment in MDT/ConfigMgr by Mikael Nystrom

Source: deploymentbunny.com

Changed the script for my enviroment

This is how it is in MDT.

This is the folder structure