<?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>PowerShell General</title><link>http://powershell.com/cs/forums/230.aspx</link><description>Moderated by PowerShell MVP &lt;a href="http://powershell.com/cs/content/experts.aspx#thomas-lee"&gt;Thomas Lee&lt;/a&gt; and PowerShell expert  &lt;a href="http://powershell.com/cs/content/experts.aspx#jakub-jares"&gt;Jakub Jareš&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Re: Script/command - query sql server &amp; configure firewall rules?</title><link>http://powershell.com/cs/forums/thread/16180.aspx</link><pubDate>Wed, 25 Apr 2012 13:38:25 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:16180</guid><dc:creator>Don Jones</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/16180.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=230&amp;PostID=16180</wfw:commentRss><description>&lt;p&gt;Prior to Win8, there are no cmdlets for querying the firewall or modifying it. And prior to SQL2012 I&amp;#39;m not aware of any that could be used to gather that SQL information. I&amp;#39;m not a SQL PowerShell expert, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Script/command - query sql server &amp; configure firewall rules?</title><link>http://powershell.com/cs/forums/thread/16172.aspx</link><pubDate>Wed, 25 Apr 2012 06:44:59 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:16172</guid><dc:creator>virtuallynothere</dc:creator><slash:comments>0</slash:comments><comments>http://powershell.com/cs/forums/thread/16172.aspx</comments><wfw:commentRss>http://powershell.com/cs/forums/commentrss.aspx?SectionID=230&amp;PostID=16172</wfw:commentRss><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;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>