I had failure when creating central admin it would create databases just fine and accesses but then complain that it could not connect and error creating farm configuration database. Weird thing was that script worked fine in my development but time for production it kept failing.
Added sleep timer after New-SPConfigurationDatabase line 1803 Start-Sleep 10 after that deployment worked fine. There was already existing timer before that line but not after.
I had failure when creating central admin it would create databases just fine and accesses but then complain that it could not connect and error creating farm configuration database. Weird thing was that script worked fine in my development but time for production it kept failing.
Added sleep timer after New-SPConfigurationDatabase line 1803 Start-Sleep 10 after that deployment worked fine. There was already existing timer before that line but not after.