Powershell output to file, ensure encoding is correct Posted on March 1, 2023 by Henrik Reply Instead of using out-file, use the method Set-Content This give the possibility to use the parameter: “-Encoding“