Answer the question
In order to leave comments, you need to log in
How to add an image to an alternate stream using PowerShell?
You need to add an existing image to the stream to a plain text .txt file. I use this command:
Get-Content -Path "C:\picture.png"| Set-Content -Path "C:\file_stream_0.txt" -Stream MyStream1
Answer the question
In order to leave comments, you need to log in
What surprises you? :) This is what a picture looks like when opened in a notepad.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question