November 29, 2010 at 11:38 pm
Hello
I have a spreadsheet which consist of a list of all SQL servers.Can someone help me with trick or script to register a list of SQL server from a spreadsheet/txt file to management studio.
Register/connect all the SQL server one by one is time consuming when I have a list of 300+ SQL servers to manage them remotely.
November 30, 2010 at 4:51 am
Well in Management Studio, under the Registered Servers window, you can right click on a folder, go to tasks and import a file, which will do the registering. For the format of the file, you may have to export a Server and test.
November 30, 2010 at 5:31 am
learned something new today; thanks graham; didn't even know about the Registered Servers panel until this post. lots of options like automatic discovery of all servers on the network and stuff.
Lowell
November 30, 2010 at 6:02 am
Lowell (11/30/2010)
learned something new today; thanks graham; didn't even know about the Registered Servers panel until this post. lots of options like automatic discovery of all servers on the network and stuff.
Glad to help 😉 considering all the help I get from this forum....
November 30, 2010 at 6:11 am
If you're using SSMS 2008, there is another neat trick. In the Registered Servers panel, make separate folders for each logical (to you) group. Then, you can right-click the group, select "New Query", and a query window opens up connected to all of the servers. Run something like "SELECT @@ServerName", and you'll get responses from all of the servers.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
November 30, 2010 at 6:14 am
WayneS (11/30/2010)
If you're using SSMS 2008, there is another neat trick. In the Registered Servers panel, ake separate folders for each logical (to you) group. Then, you can right-click the group, select "New Query", and a query window opens up connected to all of the servers. Run something like "SELECT @@ServerName", and you'll get responses from all of the servers.
always knew about that, but never actually tried it, cool!
December 1, 2010 at 6:14 am
Same with me too. really useful option. thanks
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply