Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange Server 2007

Posted on 2014-01-31
5
Medium Priority
?
195 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
4 Comments
 
LVL 3

Accepted Solution

by:
Ryan Lanham earned 2000 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

824 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