Solved

Script for shared  mailbox

Posted on 2013-01-06
3
528 Views
Last Modified: 2013-04-03
We are having one shared mailbox and the particular owner is requesting the below? Is this possible script?

1 . Per day email send & receive count of the mailbox - this is possible. (this needs to be converted as .csv & with count details mails needs to auto trigger to him on daily basis)

2. Around 50 users are as having send as permission and they are responding back emails through this shared mailbox so concern manager need how many emails are sent from the particular engineer on daily basis with name, date & time, email destination so that the managers are need to validate all thiers team members daily response count.
0
Comment
Question by:Sekar Chinnakannu
3 Comments
 
LVL 1

Accepted Solution

by:
TechProphet617 earned 500 total points
ID: 38797145
You could go with the above, or similar third party tool, or depending on HOW users are accessing the shared mailbox, you may be able to schedule a powershell script to run daily and capture this information. Now....the trick is, if users have the Shared mailbox as a mailbox that shows up in their profile, then when they send emails on behalf of that shared mailbox, they WILL NOT be stored in the shard mailboxe's sent items. However, if users add an addtional profile and access the shared mailbox directley, or log into owa, and "select other user's mailbox," or log in directley to the shared mailbox, then the sent items wil lbe stored in tha shared mailbox. Make sense?
The below script will grab some information on the mailbox:


Get-MAilboxStatistics -identity MailboxUSerID(or e-mail address) | Select Displayname,ItemCount | Export-Csv .\MailboxItemCount.csv
Send-MailMessage –From MailServer@Domain.com –To address@domain.com –Subject “DailyITemCountReport” –Body “Attached, please find the report for the number Mailbox Items”  -Attachments “.\MailboxItemCount.csv ” -smtpserver HUBTransport@domain.com

this should at least meet the basic requirements.
0
 
LVL 24

Author Comment

by:Sekar Chinnakannu
ID: 38853475
Thanks for your suggestion but cant possible to say users to login to OWA and send email for the shared mailbox.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Resolve DNS query failed errors for Exchange
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now