PowerShell, count messages sent from mailboxes in a distribution group.


hi all,

i wondering if me on one.

i trying find powershell script count , report either csv or html number of sent emails between period of time each mailbox in specific distribution group.

i no powershell user , far have managed -

get-messagetrackinglog -server "<hub server>" -resultsize "unlimited" -sender "<email address>" -start "02/01/2012 00:00:00" -end "03/01/2012 00:00:00" | measure-object | convertto-html count, sender | set-content \\server\usermailout.html

but reports on single user, need pick mailboxes out of distribution group , report sent count.

any advise appreciated.

si

hi,

regarding first error, below links should helpful:

exchange management shell error: pipelines cannot executed concurrently

http://www.mikepfeiffer.net/2010/02/exchange-management-shell-error-pipelines-cannot-be-executed-concurrently/

exchange 2010 - getting errors trying run scripts

http://social.technet.microsoft.com/forums/en-us/exchangesvradmin/thread/8600edfa-fa06-4f7b-bee0-9a2d95381f78

http://help.outlook.com/en-us/140/cc875890.aspx

regarding the second issue, seems cannot reach domaincontroller, please check out whether reach it.

please turn off firewall , try again.

best regards,

yan li

technet subscriber support

if technet subscription user , have feedback on our support quality, please send feedback here.


yan li

technet community support



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607