This is a set of CSV files as well as a sample Windows PowerShell script that will allow you to build an Exchange 2007 lab using a script.
This goes with the following blog post:
http://msexchangeteam.com/archive/2008/05/05/448822.aspx