Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Identifying which Windows Servers have SQL server installed

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-08-15 : 07:41:48
Dean writes "I am trying to dynamically identify which servers in our domain contain a SQL server installation. I have tried using the commands isql.exe -L and osql.exe -L, but they do not list anything but my local machine. Is there another method that I can try.



Thanks,
Dean"

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-08-16 : 02:34:56
Try this

exec master..xp_cmdshell 'OSQL -L'

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -