Cannot validate argument on parameter 'Encoding'
What causes it and how to fix it:
- Export-Csv -Encoding UTF8 flips the BOM between 5.1 and 7Same parameter, different bytes; Excel reads encoding from the BOM, so the report is readable on one machine and mojibake on the nextCause and fix →