Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SMS Script

By Jay Dave,

Problem Description:-

I have 150 users using standalone application on there Windows XP destops. Each destops as .ini file for that application which points to Server abc. i want to do SMS push to those 150 users which will modify\update .ini file so that instead of pointing\connecting to Server abc it will then connect to Server xyz and not to Server abc.

How to use this script:-

you just have to change the name of the original server, the new Server and the path and name of the ini file and it should work. Just copy and paste this text into a notepad session and rename it to .vbs. Then push out the vbs script to the clients. Or put it into a script window within SMS.

Total article views: 1280 | Views in the last 30 days: 11
 
Related Articles
FORUM

SQL Server 2005 script

SQL Server 2005 script

SCRIPT

Script Server Roles

Script Server Roles in case of migration or documentation

FORUM

Link Server Script

Script to List Tables on Link Server

FORUM

Monitoring script

script

FORUM

unattended script for SQL Server 2005 installation

unattended script for SQL Server 2005 installation

Tags
administration    
programming    
 
Contribute