Pages

Friday, 27 March 2015

Querying Exchange recipient data from Active Directory

Firstly find out the legacy DN for the user mailbox:
Get-Mailbox -Identity "[email protected]" | FL *Lega*

dsquery * -filter "(legacyexchangedn=/o=org/ou=Exchange Administrative Group/cn=Recipients/cn=Joe Bloggs)" -attr *

No comments:

Post a Comment