<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Invoke-Expression</title><link>http://blogs.msdn.com/b/powershell/archive/2007/03/07/invoke-expression.aspx</link><description>I fixed a bug in Start-Demo (Script attached) that is worth exploring. The heart of Start-Demo is to get a line from file, display it and then run it showing the output. To do this I used Invoke-Expression (For simplicity sakes, I'm going to show you</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Invoke-Expression</title><link>http://blogs.msdn.com/b/powershell/archive/2007/03/07/invoke-expression.aspx#9948229</link><pubDate>Thu, 14 Jan 2010 07:13:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9948229</guid><dc:creator>Karl Reitschuster</dc:creator><description>&lt;p&gt;Thank you that's exactly what i needed;&lt;/p&gt;
&lt;p&gt;I am parsing a SQL file for database build automation which contains some Powershell function calls to include other sql - sources into the main-script ...&lt;/p&gt;
&lt;p&gt;Parsing was not the problem - but executing the powershell function was not possible because the environment was re-initialized - something like a child environment of a korn-shell;&lt;/p&gt;
&lt;p&gt;/Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9948229" width="1" height="1"&gt;</description></item><item><title>leedesmond&amp;#8217;s blog  &amp;raquo; Blog Archive   &amp;raquo; Q quit on Start-Demo</title><link>http://blogs.msdn.com/b/powershell/archive/2007/03/07/invoke-expression.aspx#3069504</link><pubDate>Mon, 04 Jun 2007 02:00:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3069504</guid><dc:creator>leedesmond’s blog  » Blog Archive   » Q quit on Start-Demo</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.leedesmond.com/weblog/?p=115"&gt;http://www.leedesmond.com/weblog/?p=115&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3069504" width="1" height="1"&gt;</description></item></channel></rss>