I’ve just uploaded a new minor release of dbdesc. This version adds a couple of command line switches to facilitate the integration of dbdesc in custom scripts.
Now you can type:
dbdesc SqlServer -Ls
It will output all the SQL Server instances visible from your computer. Also you can use -Ld to list the databases stored in a server:
dbdesc SqlServer -S Server1 -Ld
I’ve also changed the code to discover SQL Server instances on the network. The old one used a special ODBC network call which sometimes was unable to discover some servers. Now I’m using the .NET 2.0 API that should work much better.
As always, this is a free update for registered customers. Simply download and run the new installer and it will update any previous version of dbdesc.