I'm missing something here probably, but I don't understand the point of this whatsoever?
Our standard ISO has the region etc we want.
Every single other setting the script you've linked can do ... We just set it through intune?
And then we're not tied to some crappy build script that we have to update manually on USB sticks or whatever.