We have 2 servers that we use for production and development.
When I run the exact same script in the “dev” box the export-csv leaves the users name with apostrophes alone.
The “Production” box changes the names with an apostrophe with an “?”
We are using the following:
$MyTable.rows | Export-Csv -Path $FileName -NoTypeInformation
In Dev the user is Bryan O’Holmstrom and the export csv file has it as the same
In Production the user is Bryan O’Holmstrom and the export csv file has it as 'Bryan O?Holmstrom
Thanks in advance,