SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Import/Export SQL Server 2000 Enterprise Manager Registered Servers

By Chad Miller, 2008/05/08

Total article views: 602 | Views in the last 30 days: 511

Powershell script to import or export SQL Server 2000 Enterprise Manager group and server registrations.

Note: SQL Server 2000 Enterprise Manager should be installed and then launched to initialize the registry keys. Close Enterprise Manager prior to running script.

To use you'll need to source the Powershell Script.

Save the file as sqlem.ps1

Launch Powershell cd to the file location

. ./sqlem.ps1

This will source the Powershell script which simply defines the functions but does not execute the script. Example usage to export and import server registrations to c:\serves.txt file:

Export-RegisteredServers c:\servers.txt

or

Import-RegisteredServers c:\servers.txt

By Chad Miller, 2008/05/08

Total article views: 602 | Views in the last 30 days: 511
Your response
 
 
Related tags
 
Already registered?  

Free registration required

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Register

E-mail address:
Password:
Password (confirm):

  

Subscriptions

We ask you to register on the site and subscribe to our newsletters. Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

We ask that you give the newsletter a try for a week. Over 200,000 SQL Server Professionals a day find it entertaining and useful. If not, you are welcome to unsubscribe at anytime.

Steve Jones
Editor, SQLServerCentral.com