This project has moved. 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 12: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 1:56 AM

wrote Feb 22, 2013 at 12:53 AM