Avatar of Albert Widjaja
Albert Widjaja
Flag for Australia asked on

Powershell to count the total number of email sent to Exchange distribution group

Hi,

Can Powershell be used to pull some stats to tell over the course of the last month the total of e-mails have been sent to the e-mail groups.

Be great if I can get a break down of internal and external and who they're from.

Thanks
PowershellExchangeActive Directory

Avatar of undefined
Last Comment
Albert Widjaja

8/22/2022 - Mon
Vikas Shah

Albert Widjaja

ASKER
Thanks for the reply Vikash, what I'd like to know is the statistics for the custom list of my distribution groups, more like in this thread: https://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_26441077.html

If the script can be modified so that it list the result like the following:

Name     : group1@domain.com
Count    : 12
totalMBs : 23
From Internal @domain.com : 10  
From External : 2

Name     : group2@domain.com
Count    : 56
totalMBs : 235
From Internal @domain.com : 48
From External : 8
.
.
.
.

That'd be great if it is possible.
prashanthd

Which version of exchange?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Albert Widjaja

ASKER
2007 SP1 with Powershell 2.0 installed.
ASKER CERTIFIED SOLUTION
Albert Widjaja

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Albert Widjaja

ASKER
Here's the solution.