<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results for 'app:forums' matching tags 'WMI' and 'Server 2008 R2'</title><link>http://powershell.com/cs/search/SearchResults.aspx?q=app:forums&amp;tag=WMI,Server+2008+R2&amp;orTags=0&amp;o=DateDescending</link><description>Search results for 'app:forums' matching tags 'WMI' and 'Server 2008 R2'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Script/command - query sql server &amp;amp; configure firewall rules?</title><link>http://powershell.com/cs/forums/thread/16172.aspx</link><pubDate>Wed, 25 Apr 2012 05:00:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:16172</guid><dc:creator>virtuallynothere</dc:creator><description>&lt;p&gt;I am trying to find a way to use powershell to query a sql server and provide back the instance names with the port numbers used, then ideally get the port numbers and add them to specific rules I create for the Windows firewall.&lt;/p&gt;
&lt;p&gt;Currently I use the netsh commands for the firewall config and go to the gui to locate the ports.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>