I have been using the script in unattended mode as part of a startup of a VM and when I ran the script as the farm account (realizing I wasn't supposed to later) I received a database failure later.
When I switched to a dedicated installer account (one that is a DA), now I get this continuous loop trying to create the UPS and waiting for it.
When I switched to a dedicated installer account (one that is a DA), now I get this continuous loop trying to create the UPS and waiting for it.