Great article and very useful script from Dan Holme on TechEd 2010 and "a script offering the advantage of an automated configuration method" for SharePoint 2010
SharePoint is So Last Month--And Scripted Configuration: Dan Holme at TechEd 2010