How to obtain the Distinguished Name of a users mailbox for use with Enterprise Vault Policy Manager (EVPM) scripts

Article: 100020107
Last Published: 2014-06-20
Ratings: 0 1
Product(s): Enterprise Vault

Problem

How to obtain the Distinguished Name of a users mailbox for use with Enterprise Vault Policy Manager (EVPM) scripts

Solution

Enterprise Vault Policy Manager provides a scripted method of modifying and controlling Exchange Server mailboxes and archives. In order to run EVPM against specific mailboxes, the Distinguished Name (DN) of a mailbox is required:
 
  1. In the EV Vault Admin Console (VAC), expand Archives > Exchange Mailbox.
     
  2. Locate the archive in question, perform right click over the archive and click on Properties.
     
  3. Select the Advanced tab.
     
  4. Highlight and copy the entire Archive ID.
     
  5. Click OK to close the Archive Properties window
     
  6. Holding the SHIFT+CTRL keys down, right-click on Archives in the EV console tree on the left.
     
  7. Select Find Archive or Folder.
     
  8. Paste in the Archive ID from Step 4 and click on Find.
     
  9. The mailbox details (including the Legacy Mailbox DN) will be displayed for that user's mailbox.
     

Notes:

  • Alternatively, if the mailbox alias is known, a query can be made against the EnterpriseVaultDirectory Database:

    USE Enterprise Vault Directory
    SELECT LegacyMbxDN FROM ExchangeMailboxEntry WHERE MbxAlias = 'MailboxAlias'

     
  • Please see Related articles for instructions on how to remove the hidden message that Enterprise Vault (EV) copies to vault enabled mailboxes.
     
  • Additional details regarding the EVPM utility and how to construct scripts can be found in the Enterprise Vault Documentation.
 

 

Was this content helpful?