<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Use PowerShell to Append CSV Files Easily</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/31/use-powershell-to-append-csv-files-easily.aspx</link><description>Summary: Learn how to use Windows PowerShell to easily append one CSV file to another CSV file.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Use PowerShell to Append CSV Files Easily</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/31/use-powershell-to-append-csv-files-easily.aspx#3509484</link><pubDate>Wed, 18 Jul 2012 01:17:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3509484</guid><dc:creator>Eric B.</dc:creator><description>&lt;p&gt;When I try this, the first csv is imported and then there is a long blank space under it and nothing else. The second csv does not show as in your example. Any ideas what could be causing this?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m doing this on a Win 7 SP1 machine. Powershell 2.0&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3509484" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Append CSV Files Easily</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/31/use-powershell-to-append-csv-files-easily.aspx#3463105</link><pubDate>Thu, 03 Nov 2011 15:26:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3463105</guid><dc:creator>Klaus Schulte</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;this is a really easy way to accomplish the task!&lt;/p&gt;
&lt;p&gt;In fact the quotation marks are sometimes unwanted and the best solution would be an additional switch parameter to export-csv that supresses them!&lt;/p&gt;
&lt;p&gt;But of course we can get around it with notepad or a little code ...&lt;/p&gt;
&lt;p&gt;Klaus&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3463105" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Append CSV Files Easily</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/31/use-powershell-to-append-csv-files-easily.aspx#3462442</link><pubDate>Mon, 31 Oct 2011 17:14:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3462442</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@Jeffrey S. Patton, you are right that I could have used code to replace the quotation mark with nothing, but it is a lot more work for this particular scenario. I do not believe your code below will actually work, but it is definately on the right track. I came up with the following:&lt;/p&gt;
&lt;p&gt;(Get-Content C:\fso\UsersConsolidated.csv) | % {$_ -replace &amp;quot;`&amp;quot;&amp;quot;, &amp;quot;&amp;quot; }&lt;/p&gt;
&lt;p&gt;But this is only half of the story. Because next I need to write this back to a file.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3462442" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Append CSV Files Easily</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/31/use-powershell-to-append-csv-files-easily.aspx#3462374</link><pubDate>Mon, 31 Oct 2011 14:15:23 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3462374</guid><dc:creator>Jeffrey S. Patton</dc:creator><description>&lt;p&gt;Nice article! But, why use notepad?&lt;/p&gt;
&lt;p&gt;?.Replace(&amp;quot;`&amp;quot;&amp;quot;,&amp;quot;&amp;quot;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3462374" width="1" height="1"&gt;</description></item></channel></rss>