Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Script for shared  mailbox

Posted on 2013-01-06
3
Medium Priority
?
551 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
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…
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…
Suggested Courses

610 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