• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Exchange Server 2007

Hello,

User mailbox had been deleted, so I don't have his "Member of" tab any more. Now, how can I find which distribution groups he was a member of, so I could  delete him to avoid "Delivery has failed to these recipients..." error message when emailing to this or that distribution group.

Thank you!
0
Administrator_ADGA
Asked:
Administrator_ADGA
1 Solution
 
Ryan LanhamCommented:
Try this:

Launch the Exchange Management Shell

Copy / Paste (Change user@example)

Get-DistributionGroup | where { (Get-DistributionGroupMember $_ | foreach {$_.PrimarySmtpAddress}) -contains "user@example" } 

Open in new window

0
 
imkotteesSenior Messaging EngineerCommented:
Hello,

Once you disable the mailbox, AD account will lose the exchange attributes. DL will not deliver any emails to that account.

Once you remove the mailbox, AD account will be removed from DL.

There wont be any NDR until unless exchange attributes are not cleared properly.
0
 
Md. MojahidCommented:
If mailbox has been deleted not need to worried it already release all infraction form DL.
Do one thing to be sure. open user and computer and right click on local domain name on AD and find user if anyone will be match from your AD you will got it here.
0
 
Administrator_ADGAAuthor Commented:
Thanks for your help! The advice with a command line

Get-DistributionGroup | where { (Get-DistributionGroupMember $_ | foreach {$_.PrimarySmtpAddress}) -contains "user@example" }

from Ryan Lanham was the best.
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now