https://techygeekshome.info/2016/04/setting-computer-name-automatically-during-osd-process/
Setting Computer Name automatically during OSD Process - SCCM/ConfigMgr 2012