<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Automatic Bind Rule for MSSQL servers]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I've got a number of Windows Servers running a variety of different versions of MSSQL server.  I was wondering if anyone has come up with an Automatic Bind rule that can be used to bind them to a container.</p>
]]></description><link>https://forum.netxms.org/topic/8264/automatic-bind-rule-for-mssql-servers</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:24:55 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8264.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Sep 2025 12:55:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Automatic Bind Rule for MSSQL servers on Fri, 26 Sep 2025 13:14:43 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, that's was exactly what I needed.</p>
]]></description><link>https://forum.netxms.org/post/34867</link><guid isPermaLink="true">https://forum.netxms.org/post/34867</guid><dc:creator><![CDATA[Darren Leggett]]></dc:creator><pubDate>Fri, 26 Sep 2025 13:14:43 GMT</pubDate></item><item><title><![CDATA[Reply to Automatic Bind Rule for MSSQL servers on Thu, 25 Sep 2025 14:16:58 GMT]]></title><description><![CDATA[<p dir="auto">Im using this metric (deployed by a template attached to all Windows systems):</p>
<pre><code>ExternalMetric = MSSQL.InstalledInstancesCount:powershell -NonInteractive -NoProfile -Command "&amp; { (Get-ItemProperty \"HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\").InstalledInstances.Count }"
</code></pre>
<p dir="auto">Then you can use something like this in automatic bind/auto apply:</p>
<pre><code>value = $node.readAgentParameter("MSSQL.InstalledInstancesCount");
return (value != NULL &amp;&amp; typeof(value) == "int32" &amp;&amp; value &gt; 0);
</code></pre>
]]></description><link>https://forum.netxms.org/post/34861</link><guid isPermaLink="true">https://forum.netxms.org/post/34861</guid><dc:creator><![CDATA[flytech-ben]]></dc:creator><pubDate>Thu, 25 Sep 2025 14:16:58 GMT</pubDate></item></channel></rss>