I'm using ADB exec-out screencap -p > temp.png
in a batch script, and it outputs a regular .png file whereas the exact same syntax in powershell is giving me a corrupted .png file that is not readable. Any idea how to correct this in powershell?
ADB version 1.0.40, powershell version 1.0