Microsoft SQL Server 2008 Notes

powershell/ Create a file called "C:\AllServers.txt") to hold a list of all your SQL Servers. Example 1 This example is a typical template for all repetitive processes against servers. 1. loops through the servers in AllServers.txt 2. makes connection 3. creates SQL commandline 4. executes the SQL 5. Formats the output into a table and returns ... ................
................