I created config and ran scripts from https://autospinstaller.com/. I had a "/" character in my app pool name for the 2nd web app i created (i use the hostname for my app pools and copied the trailing "/"). It happened to be my mysite web app. My intranet web app had already been created with a few site collections in it.
The scripts halted execution. I fixed the issues in the second web app and reran the scripts with the updated config file. Upon running, it errored again, but this time because it detected that the site collections already existed in the first web app.
This is a DEV environment and I was looking to simply recreate the site collections (Remove-SPSite) in the event of a setup run issue. Perhaps a "Recreate if exists" checkbox. Or some sort of hook, perhaps in the FunctionsCustom.ps1?
The scripts halted execution. I fixed the issues in the second web app and reran the scripts with the updated config file. Upon running, it errored again, but this time because it detected that the site collections already existed in the first web app.
This is a DEV environment and I was looking to simply recreate the site collections (Remove-SPSite) in the event of a setup run issue. Perhaps a "Recreate if exists" checkbox. Or some sort of hook, perhaps in the FunctionsCustom.ps1?