Thanks, that works for SQL 2008. But it seems you cannnot export that from sql 2008 to SQL 2012.
Also can anyone explain what is the difference about local server groups and central management servers?
from functionalities, I can do queries on multiple servers through either of them.
not sure what is the difference?
When you register servers under the Local Server Groups it gets stored in: C:\Documents and Settings\<user>\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell\RegSvr.xml. That means the person who has registered the servers, only can use this registration and enjoy the favour of executing statements against multiple servers, not anyone else.
However, things are a little different for CMS. When you register servers under Centralized Management Server details gets stored within the msdb in:
As a matter of fact whoever logins to the server with the required privilege can access the registered servers & enjoy the multi server administration facility.
I hope this helps!!!