A fresh Windows install now sets itself up while I get coffee.
The script can be run during setup by pressing Shift+F10 at the "Let's connect you to a network" screen to open a Windows command prompt. In the command prompt window, type ...