Ricavare l’Identity di Outlook Express via VBScript

Anche questo script per ricavare l’identity di Outlook Express dell’utente corrente è nato da un a richiesta sul forum:

Option Explicit

Dim objWshShell, strIdentity
Set objWshShell = WScript.CreateObject(“WScript.Shell”)

strIdentity=objWshShell.RegRead(“HKEY_CURRENT_USER\Identities\Default User ID”)
WScript.Echo “Identity: ” & strIdentity

Set objWshShell=Nothing