<?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: The Exec Problem</title>
	<atom:link href="http://jameskovacs.com/2010/02/25/the-exec-problem/feed/" rel="self" type="application/rss+xml" />
	<link>http://jameskovacs.com/2010/02/25/the-exec-problem/</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 20:51:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: James</title>
		<link>http://jameskovacs.com/2010/02/25/the-exec-problem/comment-page-1/#comment-31974</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 12 Jan 2012 18:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2010/02/25/The+Exec+Problem#comment-31974</guid>
		<description>@Steven - $server is a plain old Powershell variable. So the following works:

&lt;code&gt;$server = localhost
ping $server&lt;/code&gt;

Since exec takes a block, the above ping command will also work inside of exec.

&lt;code&gt;exec { ping $server }&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@Steven &#8211; $server is a plain old Powershell variable. So the following works:</p>
<p><code>$server = localhost<br />
ping $server</code></p>
<p>Since exec takes a block, the above ping command will also work inside of exec.</p>
<p><code>exec { ping $server }</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven</title>
		<link>http://jameskovacs.com/2010/02/25/the-exec-problem/comment-page-1/#comment-31959</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Thu, 12 Jan 2012 13:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2010/02/25/The+Exec+Problem#comment-31959</guid>
		<description>This is nice but seems to be the most basic proof of concept. Exec { ping localhost } works... but how would you do:  Exec { ping $server }
Exec is not expecting a string... but unless you surround the variable with quotes, it will not be expanded.</description>
		<content:encoded><![CDATA[<p>This is nice but seems to be the most basic proof of concept. Exec { ping localhost } works&#8230; but how would you do:  Exec { ping $server }<br />
Exec is not expecting a string&#8230; but unless you surround the variable with quotes, it will not be expanded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://jameskovacs.com/2010/02/25/the-exec-problem/comment-page-1/#comment-1052</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 25 Jun 2010 21:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2010/02/25/The+Exec+Problem#comment-1052</guid>
		<description>@Rob - Thanks for catching that. Corrected.</description>
		<content:encoded><![CDATA[<p>@Rob &#8211; Thanks for catching that. Corrected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://jameskovacs.com/2010/02/25/the-exec-problem/comment-page-1/#comment-1037</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 24 Jun 2010 21:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://jameskovacs.com/2010/02/25/The+Exec+Problem#comment-1037</guid>
		<description>Pet peeve: &quot;Occurred&quot; is misspelled above.</description>
		<content:encoded><![CDATA[<p>Pet peeve: &#8220;Occurred&#8221; is misspelled above.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

