title: In Powershell Script, how do I convert a pipe '|' delimited file to a comma ',' delimited CSV?
body: <p>In Powershell Script, how do I convert a <code>|</code> (pipe) delimited CSV file to a <code>,</code> (comma) delimited CSV file? </p>
  
  <p>When we use the following command in Windows Powershell <code>Encoding 'UTF8' -NoType</code> to convert from <code>|</code> (pipe delimiter) to <code>,</code> (comma delimiter), the file is converted with <code>,</code> delimited but the string was surrounded by <code>" "</code> (double quotes). Like given below:</p>
  
  <p>Source file data:</p>
  
  <blockquote>
    <p>ABC|1234|CDE|567|</p>
  </blockquote>
  
  <p>Converted file data:</p>
  
  <blockquote>
    <p>"ABC","1234","CDE","567",</p>
  </blockquote>
  
  <p>I want to generate the following:</p>
  
  <blockquote>
    <p>ABC,1234,CDE,567,</p>
  </blockquote>
  
  <p>What command can I use to convert the delimiter from  <code>|</code> to <code>,</code>?</p>