Base64 encode a string in PowerShell.

[Convert]::ToBase64String([system.Text.Encoding]::UTF8.GetBytes("some string value"))