PowerShell 5.1, which is included in Windows, uses different character encodings depending on the command used to write files ...
When writing PowerShell scripts, in a perfect world, we'd all just use cmdlets and functions. After all, the batch file days are behind us! Unfortunately, that's not always possible or even the best ...