$ 0 0 You can use PowerShell in conjunction with SMO to Generate an SQL Server Script for Database objects