title: PowerShell Import-CSV adding spaces between characters
body: <p>I have a CSV file which looks all fine until it is imported into PowerShell, when its imported each character is followed by a space like <code>C : \</code> instead of <code>C:\</code>. </p>
  
  <p>It would be easy enough to format the cells to text in Excel (which works) but this CSV file is created on multiple servers by in an automation policy so going through each of these files and formatting them will take a while as you can imagine. </p>
  
  <p>I was wondering if there was a way in which I can format the cells first in PowerShell then import the CSV.</p>
  
  <p>PowerShell code I am using:</p>
  
  <p><code>$data = import-csv -Path $path -UseCulture -Header @("Path", "Folder", "Size")</code></p>
  
  <p>CSV Snippet:</p>
  
  <p><code>C:\,C:\,14.0GB
  C:\Program Files,Program Files,4.5GB
  C:\Program Files\Microsoft Office,Microsoft Office,2.8GB</code></p>