?
Solved

Script for shared  mailbox

Posted on 2013-01-06
3
Medium Priority
?
544 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
TechProphet617 earned 1000 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 25

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this video we show how to create a mailbox database 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 Servers >> Data…
To show how to generate a certificate request 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 Servers >> Certificates…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

770 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