Created
October 15, 2019 14:10
-
-
Save stesee/3f8851bcff5c47f4d617610733abd5d1 to your computer and use it in GitHub Desktop.
encodes some bin to base64 using powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param([String]$path) | |
[convert]::ToBase64String((get-content $path -encoding byte)) | |
#Onelineversion: | |
#[convert]::ToBase64String((get-content C:\Windows\Temp\aria-debug-708.log -encoding byte)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment