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” [...]
Filed under: SCOM, Scripting, System Center Operations Manager | 4 Comments »