Solved

Exchange Server 2007

Posted on 2014-01-31
5
182 Views
Last Modified: 2014-02-20
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
Comment
Question by:Administrator_ADGA
5 Comments
 
LVL 3

Accepted Solution

by:
Ryan Lanham earned 500 total points
ID: 39825390
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
 
LVL 13

Expert Comment

by:imkottees
ID: 39825627
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
 
LVL 12

Expert Comment

by:Md. Mojahid
ID: 39826178
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
 

Author Comment

by:Administrator_ADGA
ID: 39864756
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

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now