<?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>Variable expansion in strings and here-strings</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx</link><description>PSMDTAG:FAQ: What is the difference between single quoted and double quoted strings? ANSWER: Double quoted string expand variables and single quoted strings do not. Example: PS&amp;gt; $x="TEST" PS&amp;gt; "This is a $x" This is a TEST PS&amp;gt; 'This is a $x' This</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Interesting Finds: July 15, 2006</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#666972</link><pubDate>Sun, 16 Jul 2006 05:05:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:666972</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: Variable expansion in strings and here-strings</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#1652498</link><pubDate>Sun, 11 Feb 2007 18:53:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1652498</guid><dc:creator>Jtb</dc:creator><description>&lt;p&gt;Why doesn't set-psdebug -strict prevent unset variables with variable expansion in strings?&lt;/p&gt;
&lt;p&gt;PS C:\Users\Jens&amp;gt; write-host &amp;quot;$Test&amp;quot;&lt;/p&gt;
&lt;p&gt;PS C:\Users\Jens&amp;gt; write-host $Test&lt;/p&gt;
&lt;p&gt;PS C:\Users\Jens&amp;gt; set-psdebug -strict&lt;/p&gt;
&lt;p&gt;PS C:\Users\Jens&amp;gt; write-host &amp;quot;$Test&amp;quot;&lt;/p&gt;
&lt;p&gt;PS C:\Users\Jens&amp;gt; write-host $Test&lt;/p&gt;
&lt;p&gt;The variable $Test cannot be retrieved because it has not been set yet.&lt;/p&gt;
&lt;p&gt;At line:1 char:16&lt;/p&gt;
&lt;p&gt;+ write-host $Test &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;PS C:\Users\Jens&amp;gt;&lt;/p&gt;</description></item><item><title>re: Variable expansion in strings and here-strings</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#2095441</link><pubDate>Thu, 12 Apr 2007 07:38:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2095441</guid><dc:creator>Suresh</dc:creator><description>&lt;p&gt;Why I'm getting spaces in between&lt;/p&gt;
&lt;p&gt;PS C:\&amp;gt; $OFS=&amp;quot;&amp;quot;;foreach ($num in 0..4) {write-host C:\SG($num)DB}&lt;/p&gt;
&lt;p&gt;C:\SG 0 DB&lt;/p&gt;
&lt;p&gt;C:\SG 1 DB&lt;/p&gt;
&lt;p&gt;C:\SG 2 DB&lt;/p&gt;
&lt;p&gt;C:\SG 3 DB&lt;/p&gt;
&lt;p&gt;C:\SG 4 DB&lt;/p&gt;</description></item><item><title>Re: passing parameters to an external program using PowerShell variables</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#4048928</link><pubDate>Wed, 25 Jul 2007 23:49:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4048928</guid><dc:creator>Latest Newsgroup Posts</dc:creator><description>&lt;p&gt;The best method that works for me is the use of a Here-String. You can find more information on it here:&lt;/p&gt;
</description></item><item><title>SPI + PowerShell</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#5003075</link><pubDate>Thu, 20 Sep 2007 03:41:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5003075</guid><dc:creator>tom.shirley's blog</dc:creator><description>&lt;p&gt;Provide a User Interface to administer Sharepoint content using PowerShell.&lt;/p&gt;
</description></item><item><title>SPI + PowerShell</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#5007638</link><pubDate>Thu, 20 Sep 2007 09:46:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5007638</guid><dc:creator>tom.shirley's blog</dc:creator><description>&lt;p&gt;Provide a User Interface to administer Sharepoint content using PowerShell.&lt;/p&gt;
</description></item><item><title>Check it out: Out-vCard</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#5969778</link><pubDate>Thu, 08 Nov 2007 00:51:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5969778</guid><dc:creator>Windows PowerShell</dc:creator><description>&lt;p&gt;Check out Dmitry Sotnikov's blog Out-vCard: Exporting Outlook Address Book . It lets you do things like:&lt;/p&gt;
</description></item><item><title>Check it out: Out-vCard</title><link>http://blogs.msdn.com/powershell/archive/2006/07/15/Variable-expansion-in-strings-and-herestrings.aspx#5970334</link><pubDate>Thu, 08 Nov 2007 01:21:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5970334</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Check out Dmitry Sotnikov&amp;amp;#39;s blog Out-vCard: Exporting Outlook Address Book . It lets you do things&lt;/p&gt;
</description></item></channel></rss>