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 pragmatic technology architect and game developer with decades of experience across enterprise cloud architecture, software engineering, innovation and digital transformation.
Reset Git Branch Commits Previous post Kubernetes Workloads Cheat Sheet
Reset Git Branch Commits Next post base64 with Bash Cheat Sheet