devxlogo

Get a List of Sqlservers to Run on a Local Network Through Query Analyzer

Get a List of Sqlservers to Run on a Local Network Through Query Analyzer

 // this Command will return the server Names running on local NetworkExec Master..xp_CmdShell 'osql -L'OUTPUT Eg:Servers:    Server1    Server2    Server3    Server4    Server5

devx-admin

Share the Post: