Parker77,
I suspect you want to automate the process rather than relying on the interactive wizard. Is that right?
I don't have a "script the lot" example, but a starting point may be Umachandar Jayachandran's example at http://www.umachandar.com/technical/SQL70Scripts/UtilitySPs/Main17.htm
Cheers,
- Mark