Get distribution group all members – nested

How can we get a list of mailboxes belonging to a distribution group?
In a simple way, by using the EMC console and check who is a member of a group, or by using powershell EMS console and use the command:

Get-DistributionGroupMember Test_Group

 

In this way we get a list of objects in the group, both mailboxes, contacts, and other groups.

And here there is a problem, because if the distribution group includes the next distribution group, and this again next etc, how can we get a list of all people who receive an email after sending a message to a distribution group?

Unfortunately, using only the Get-DistributionGroupMember we won’t get such information.

This command returns only the objects directly in a group, without nesting.

In this case, we have to use PowerShell commands for Active Directory available.

To do this run EMS console and import the Active Directory module command as follows:

import-module ActiveDirectory

Continue reading

Exchange 2013 CU1 released KB2816900

Today 04/02/2013 Microsoft released CU1 for Microsoft Exchange 2013

Cumulative Update 1 for Microsoft Exchange 2013 can be downloaded here:

Exchange 2013 CU1 Download

 

Ex2013CU1

Description of Cumulative Update 1 for Exchange Server 2013

CU1 for Microsoft Exchange 2013 is the last step for Exchange 2013 and Exchange 2010 SP3 coexistence.

 

Continue reading

Recoverable Items Audits, CalendarVersionStoreDisabled, Versions, Deletions and other problems

When we have problems with TotalDeletedItemsSize (too large) we should check all items in Recoverable Items folder and subfolders.

To do this we should use following command:

Get-MailboxFolderStatistics -Identity JSmith -FolderScope RecoverableItems | Format-Table Name,FolderPath,ItemsInFolder,FolderAndSubfolderSize

 

As a result we will get list of all Recoverable Items subfolders and information how much space they use.

RecoverableItems

 

How to remove all items from Deletions we wrote in article:

 Exchange 2010 Database size growing problem

 

 

In general, type the following command and Recoverable Items folder size should be significantly reduced:

Search-Mailbox -Identity JSmith -SearchDumpsterOnly -DeleteContent