3 ms·
Get-Content test.jpg -Encoding Byte -ReadCount 1000 | Set-Content test2.jpg -Encoding Byte Piped binary data, not corrupted, since a long time before that blog
by jodrellblank 10y ago
Get-Content test.jpg -Encoding Byte -ReadCount 1000 | Set-Content test2.jpg -Encoding Byte
Piped binary data, not corrupted, since a long time before that blog post was written.
What you can't do is run native commands, and read their standard output as a byte stream without going through .Net and Start-Process.