How can I generate SQL script to regenerate/document tables in sql server?

How can I generate SQL script to regenerate/document tables in sql server?