Why does PS add un-displayable characters to an output file that are not in the original?
Unwanted characters in the header are EF BB BF 0D 0A.
Compare my output file to the CSV input file in HEX. Purpose: If characters match then don’t output that line.
(get-content c:\exports’Receiving Export SAGE.CSV’| select-string -pattern ’ ,0,0,0’ -notmatch) | Out-File c:\Exports’Receiving Export SAGE Zeroes Gone.CSV’ -Encoding utf8