This project has moved and is read-only. For the latest updates, please go here.

Function ConfigureFarm always does FullConfig


$FirstServer always receives $true and $SPFarm is NULL in Function CheckFarmTopology, because $ConfigDB is NULL
So even subsequent runs trigger a Full Configuration.
The scope of the variable $configDB should be "script" in Line 786 (Function CreateOrJoinFarm) >>
$script:ConfigDB = $DBPrefix+$xmlinput.Configuration.Farm.Database.ConfigDB


brianlala wrote Dec 7, 2011 at 1:29 AM

Correct - I think I used to have it as a script-scoped variable then must have changed it when cleaning up the script sometime in the past few revisions. Instead of script-scoping it though I'll just re-assign it again in the CheckFarmTopology function.

Thanks for catching this!

wrote Dec 7, 2011 at 2:56 AM

wrote Feb 22, 2013 at 1:53 AM

wrote Nov 27, 2017 at 6:36 PM