<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Discover SQL Servers with Powershell</title>
	<atom:link href="http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357</link>
	<description>making DBAs everywhere curse!</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:02:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357/comment-page-1#comment-643</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Wed, 29 Jun 2011 09:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357#comment-643</guid>
		<description>Hi John,

Yes. Something like below should do it...

&lt;code&gt;$sqlserver = &quot;sqlinstance&quot;;
[System.Reflection.Assembly]::LoadWithPartialName(&quot;Microsoft.SqlServer.Smo&quot;) &#124; Out-Null;
$srv = New-Object &quot;Microsoft.SqlServer.Management.Smo.Server&quot; $sqlserver;
Write-Host &quot;Edition: &quot; $srv.Edition;
Write-Host &quot;Version: &quot; $srv.Version;&lt;/code&gt;

Cheers,

Rhys</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Yes. Something like below should do it&#8230;</p>
<p><code>$sqlserver = "sqlinstance";<br />
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null;<br />
$srv = New-Object "Microsoft.SqlServer.Management.Smo.Server" $sqlserver;<br />
Write-Host "Edition: " $srv.Edition;<br />
Write-Host "Version: " $srv.Version;</code></p>
<p>Cheers,</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Henry</title>
		<link>http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357/comment-page-1#comment-630</link>
		<dc:creator>John Henry</dc:creator>
		<pubDate>Wed, 29 Jun 2011 03:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357#comment-630</guid>
		<description>Hi,

Can this script modified to include the Edition and the version please ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Can this script modified to include the Edition and the version please ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rhys</title>
		<link>http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357/comment-page-1#comment-121</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Tue, 22 Dec 2009 21:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357#comment-121</guid>
		<description>Hi Chuck,

Yep, no discovery without without SQLBrowser. It probably wouldn&#039;t be difficult to remotely search the registry for installed SQL Server instances if this is an issue for you.

Rhys</description>
		<content:encoded><![CDATA[<p>Hi Chuck,</p>
<p>Yep, no discovery without without SQLBrowser. It probably wouldn&#8217;t be difficult to remotely search the registry for installed SQL Server instances if this is an issue for you.</p>
<p>Rhys</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Boyce</title>
		<link>http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357/comment-page-1#comment-120</link>
		<dc:creator>Chuck Boyce</dc:creator>
		<pubDate>Tue, 22 Dec 2009 19:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/discover-sql-servers-with-powershell/357#comment-120</guid>
		<description>Hi Rhys,

The limitation of this is that unfortunately it relies on the SQLBrowser service.  Discovery will not occur if the SQLBrowser service is not started.  

Chuck
chuckboycejr</description>
		<content:encoded><![CDATA[<p>Hi Rhys,</p>
<p>The limitation of this is that unfortunately it relies on the SQLBrowser service.  Discovery will not occur if the SQLBrowser service is not started.  </p>
<p>Chuck<br />
chuckboycejr</p>
]]></content:encoded>
	</item>
</channel>
</rss>

