Decoding Text using PowerShell–Sweet challenge :)

This may have been posted a couple of times online and can be easily found just by searching through the search engine but I just want to share it. I wouldn’t have tried to find out how to Decode/Encode in PowerShell if not for Mike Robbins. When I was trying to find his email address so that I could contact him, I found this on the “About” page on his blog (www.mikefrobbins.com).

Capture

So in order to get his email address, we will need to run the following commands in Windows PowerShell.

$encodedmsg  = “IgBtAGkAawBlAGYAcgBvAGIAYgBpAG4AcwBAAG0AcwBwAHMAdQBnAC4AYwBvAG0AIgA=”

$decodedmsg = [System.Convert]::FromBase64String($encodedmsg)

$decodedtext = [System.Text.Encoding]::UTF8.GetString($decodedmsg)

Write-Output “Mike Robbins email is: “ $decodedtext

That’s all! I got his email now! It’s pretty interesting as it shows that you need a little effort in learning PowerShell to get in contact with the PowerShell expert.

Cheers to Mike Robbins!

Regards,
Milton Goh

Decoding Text using PowerShell–Sweet challenge :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s