title: PS Script is exporting an empty CSVs
body: <p>I am having a helluva time trying to understand why this script is not working as intended. It is a simple script in which I am attempting to import a CSV, select a few columns that I want, then export the CSV and copy over itself. (Basically we have archived data that I only need a few columns from for another project due to memory size constraints). This script is very simple, which apparently has an inverse relationship with how much frustration it causes when it doesn't work... Right now the end result is I end up with an empty csv instead of a csv containing only the columns I selected with Select-Object.</p>
  
  <pre><code>$RootPath = "D:\SomeFolder"
  
  $csvFilePaths = Get-ChildItem $RootPath -Recurse -Include *.csv | 
      ForEach-Object{
          Import-CSV $_ |
          Select-Object Test_Name, Test_DataName, Device_Model, Device_FW, Data_Avg_ms, Data_StdDev | 
          Export-Csv $_.FullName -NoType -Force
  }
  </code></pre>