I'm trying to find a list of all sql servers on the network using the osql -L
command in the command prompt. This command only works when SQLServer is installed on the computer that I'm working on. Is there any way to run this command when SQLServer is not installed on that particular computer, but is installed somewhere on the network?
Thank you!
EDIT: I'm writing a program in java, so the easy enumerations that you can do in the .NET framework won't work for me.