Solved

Script for shared  mailbox

Posted on 2013-01-06
3
530 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
how to add IIS SMTP to handle application/Scanner relays into office 365.

863 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

19 Experts available now in Live!

Get 1:1 Help Now