Base64 with Powershell Cheat Sheet

Reset Git Branch Commits

Base64 with Powershell Cheat Sheet for use with powershell task automation framework.

Encode

[System.Convert]::
ToBase64String([System.Text.Encoding]::
UTF8.GetBytes("MY_PLAIN_TEXT"))

Decode

[System.Text.Encoding]::
UTF8.GetString([System.Convert]::
FromBase64String("MY_ENCODED_TEXT"))
Marcin Narloch

Marcin Narloch

Creative and out-of-the-box thinker with strong interests and knowledge in technology and innovation.
Reset Git Branch Commits Previous post Kubernetes Workloads Cheat Sheet
Reset Git Branch Commits Next post base64 with Bash Cheat Sheet

Leave a Reply

Your email address will not be published. Required fields are marked *