Update to SQL Server Configuration Scripting Utility
        Posted  
        
            by Bill Graziano
        on SQL Team
        
        See other posts from SQL Team
        
            or by Bill Graziano
        
        
        
        Published on Mon, 12 Mar 2012 00:49:20 GMT
        Indexed on 
            2012/03/18
            18:11 UTC
        
        
        Read the original article
        Hit count: 360
        
Last spring I released a utility to script SQL Server configuration information on CodePlex. I’ve been making small changes in this application as my needs have changed. The application is a .NET 2.0 console application.
 This utility serves two needs for me.  First it helps with disaster recovery.  All server level objects (logins, jobs, linked servers, audits) are scripted to a single file per object type.  This enables the scripts to be easily run against a DR server.  If these are checked into source control you can view the history of the script and find out what changed and when.
This utility serves two needs for me.  First it helps with disaster recovery.  All server level objects (logins, jobs, linked servers, audits) are scripted to a single file per object type.  This enables the scripts to be easily run against a DR server.  If these are checked into source control you can view the history of the script and find out what changed and when.
The second goal is to capture what changed inside a database. Objects inside a database (tables, stored procedures, views, etc.) are each scripted to their own file. This makes it easier to track the changes to an object over time. This does include permissions and role membership so you can capture security changes. My assumption is that a database backup is the primary method of disaster recovery for databases so this utility is designed to capture changes to objects.
You can find the full list of changes from the original on the Downloads page on CodePlex.
© SQL Team or respective owner