 <p>simply use the Out-File cmd but DON'T forget to give an encoding type: -Encoding UTF8 so use it so:</p> <p>$log | Out-File -Append C:\as\whatever.csv -Encoding UTF8</p> <p>-Append is required if you want to write in the file more then once.</p>