Powershell: Encode and decode Base64 strings


short post today. How to en- and decode base64 strings.

Encode a string

[string]$sStringToEncode="My string to encode"
write-host "Encoded String:" $sEncodedString

And decoding back

write-host "Encoded String:" $sDecodedString


Place for Advertisment to support michlstechblog.info

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress