3 ms·
This has frustrated me to no end. I've given into using WriteAllLines as a work-around. [IO.File]::WriteAllLines($filename, $content) (from https://stackoverf
by stephengillie 10y ago
This has frustrated me to no end. I've given into using WriteAllLines as a work-around.
[IO.File]::WriteAllLines($filename, $content)
(from https://stackoverflow.com/questions/5596982/using-powershell-to-write-a-file-in-utf-8-without-the-bom https://stackoverflow.com/questions/5596982/using-powershell...)
- lqdc13 10y agoI get OOM with larger files even when they should fit in memory. Powershell is like a poor Java/C# interpreter instead of a quick and dirty shell.