Solved

Script for shared  mailbox

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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

717 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