Compare User Principal Name (UPN) To Email Address

​​VB script that discovers all mailboxes within the domain and compares the User Principal Name (UPN) to email address for the object. If they are different, it will log it to the file.

Usage:

  1. Launch the command prompt (cmd.exe).
  2. Download the following script:  Check-Exchange2003UserPrincipalNameAndEmailAddress.zip
  3. Run the script on a computer that is joined to the domain you wish to update the user accounts for.

When the script is done executing, you will see a co​​nfirmation dialog. A file will be created within the same directory called "Check-Exchange2003UserPrincipalNameAndEmailAddress.txt" which contains all accounts with non-matching UPNs to their email addresses.

Related Downloads:

Was this article helpful?
0 out of 0 found this helpful