4 ms·In `pwsh` (that's the xplat version of powershell, v7+), default encoding for Out-File is `utf8noBOM`.by greenmartian 1y agoIn `pwsh` (that's the xplat version of powershell, v7+), default encoding for Out-File is `utf8noBOM`.