VBS: Decoding Base64 Strings (in 10 lines of code)

This code snippet can be used to decode Base64 encoded strings into plain text, which I have found useful recently when working on VBscript scripts that require decoding the Base64-encoded SNMP community strings stored in OpsMgr.  I thought it would be worth sharing. Function Decode(strB64)  strXML = “<B64DECODE xmlns:dt=” & Chr(34) & _         “urn:schemas-microsoft-com:datatypes” [...]

Follow

Get every new post delivered to your Inbox.

Join 42 other followers