Vinternals has released a new ESX post install tool called Statelesx (meaning stateless ESX). This tool is designed to take all of the work into configuring an ESX after install, including the vSwitches, port groups and IP addressing.
http://www.vinternals.com/2008/08/statelesx-110-released.html