Running any of the setup scripts on a fresh install of Windows 11, at the end of the script I always see the following error message:
Install-WindowsUpdate : A parameter cannot be found that matches parameter name 'accepteula'.
My guess is that the parameters of the Install-WindowsUpdate command may have changed in some recent update, and so the boxstarter script need to be updated to reflect whatever the new correct syntax is.