<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; PowerShell: Модификация правил брандмауэра]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=8437&amp;type=atom" />
	<updated>2013-07-01T14:57:07Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=8437</id>
		<entry>
			<title type="html"><![CDATA[PowerShell: Модификация правил брандмауэра]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=73405#p73405" />
			<content type="html"><![CDATA[<p>Добрый день.</p><p>Есть такой скрипт:<br /></p><div class="codebox"><pre><code>$firewall = New-Object -ComObject hnetcfg.fwpolicy2
$firewall.Rules.Item(&quot;Block IP-adresses&quot;).Description = &quot;List of blocked addresses&quot;</code></pre></div><p>Выполняется без ошибок, но значение <strong>Описание </strong>у правила <strong>Block IP-adresses</strong> не изменяется.<br />Что я делаю не так?</p><p>Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[Tyler]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30237</uri>
			</author>
			<updated>2013-07-01T14:57:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=73405#p73405</id>
		</entry>
</feed>
