Comments on: Finding Servers On Your Network https://thomaslarock.com/2009/12/finding-servers-on-your-network/ Thomas LaRock is an author, speaker, data expert, and SQLRockstar. He helps people connect, learn, and share. Along the way he solves data problems, too. Tue, 20 Jul 2010 19:18:08 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: QuickBlog: Build a list of SQL Server without SMO… | Max Trinidad – The PowerShell Front https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1166 Tue, 20 Jul 2010 19:18:08 +0000 http://thomaslarock.com/?p=3379#comment-1166 […] Also, take a look at this other blog from Buck Woody “SQL RockStar” about “Finding SQL Servers on Your Network” – Excellent material – http://thomaslarock.com/2009/12/finding-servers-on-your-network/ […]

]]>
By: Thomas LaRock https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1165 Tue, 22 Dec 2009 23:02:33 +0000 http://thomaslarock.com/?p=3379#comment-1165 In reply to Mladen.

hmmm….so i should save myself the headache? thanks!

]]>
By: Mladen https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1164 Tue, 22 Dec 2009 22:49:12 +0000 http://thomaslarock.com/?p=3379#comment-1164 I’ve found that currently there’s no 100% bullet proof way to get all sql server instances.
and i have tried… oh lord have i tried 🙂

]]>
By: Thomas LaRock https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1163 Tue, 22 Dec 2009 21:12:22 +0000 http://thomaslarock.com/?p=3379#comment-1163 In reply to Chad Miller.

thanks Chad. i was wondering about those methods and if they would be as accurate.

]]>
By: Chad Miller https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1162 Tue, 22 Dec 2009 20:24:20 +0000 http://thomaslarock.com/?p=3379#comment-1162 SMO or Powershell is just as inaccurate as sqlcmd /L. You should see the same results as sqlcmd /L. Try it yourself, here’s two methods. The first uses SMO and second uses System.Data

[reflection.assembly]::LoadWithPartialName(“Microsoft.SqlServer.Smo”)

[Microsoft.SqlServer.Management.Smo.SmoApplication]::EnumAvailableSqlServers()

([System.Data.Sql.SqlDataSourceEnumerator]::Instance).GetDataSources()

]]>
By: Thomas LaRock https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1161 Tue, 22 Dec 2009 16:37:44 +0000 http://thomaslarock.com/?p=3379#comment-1161 In reply to SQLDenis.

thanks for the link, that looks interesting

]]>
By: SQLDenis https://thomaslarock.com/2009/12/finding-servers-on-your-network/#comment-1160 Tue, 22 Dec 2009 16:29:09 +0000 http://thomaslarock.com/?p=3379#comment-1160 @onpnt did a nice post named Scan network for SQL Server instances: http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/scan-network-for-sql-server-instances a while back, it combines SSIS and SQL Ping

]]>