Skip to the main content.

Get the Members of an Exchange 2007 Distribution Group

Many a times we are faced with the task of getting all the members in a distribution group, especially in a large group. It is very easy with Powershell. Run the following command,

Get-DistributionGroupMember –identity “group name”

In order to select the properties we need, pipe the command to format-table with the necessary values.

Get-DistributionGroupMember –identity “group name” | ft name, primarysmtpaddress

As usual, we can export the output to a txt or csv file.

Get-DistributionGroupMember –identity “group name” | ft name, primarysmtpaddress | Export-CSV c:members.csv

 

http://www.howexchangeworks.com/2009/10/get-members-of-exchange-2007.html

 

Navigating the Future with Windows 365: Your Complete Cloud-Based Workspace

Navigating the Future with Windows 365: Your Complete Cloud-Based Workspace

Cloud computing has transformed the business landscape, offering unparalleled flexibility and efficiency. A leader in this evolution is Microsoft...

Microsoft Fabric vs. Power BI: What's the Difference?

Microsoft Fabric vs. Power BI: What's the Difference?

It’s more important than ever today for businesses to make data-driven decisions. But while 90% of organizations indicate that data is increasingly...

Countdown to Windows Server 2012 R2 EOL: Upgrade & Migration Choices Explained

Countdown to Windows Server 2012 R2 EOL: Upgrade & Migration Choices Explained

The deadline for Windows Server 2012 support is fast approaching; the end of support date is October 10th, 2023. As this technology is set to become...