script | Out-File -Encoding UTF-8 file.out #### script | Out-File -Encoding UTF8NoBOM file.out #### script >file.out