Hello,
I consider that the /quietinstall switch is not a recognized parameter for the Windows 11 setup. The error you are receiving indicates that the command-line does not understand the /quietinstall parameter.
You could try to run a quiet install with an ISO in Windows setup would be /quiet. Meaning your script should look like "path to setup.exe" /auto upgrade /quiet. This will perform the upgrade in quiet mode which will not interact with the desktop and will not restart the computer after the installation.
Best Regards,
Hania Lian