SyntaxFix
Write A Post
Hire A Developer
Questions
simply use the Out-File cmd but DON'T forget to give an encoding type: -Encoding UTF8
-Encoding UTF8
so use it so:
$log | Out-File -Append C:\as\whatever.csv -Encoding UTF8
-Append is required if you want to write in the file more then once.