Storage Quota message alert customization and automation
Users in my Exchange 2007 SP2 environment are getting Quota notification alerts fine as per their storage quotas defined.
I am looking towards some options here -
Can I send them customized, automated message from a support mail ID with a copy to their manager (As specified under Manager field in that users properties)with a gentle reminder to take a note of such alerts.
July 19th, 2010 5:05pm
That should be achievable with a PowerShell script, yes.
"Shireesh1" wrote in message
news:a0816d25-7b33-4438-93d2-c033905fe936@communitybridge.codeplex .com...
Users in my Exchange 2007 SP2 environment are getting Quota notification alerts fine as per their storage quotas defined.
I am looking towards some options here -
Can I send them customized, automated message from a support mail ID with a copy to their manager (As specified under Manager field in that users properties)with a gentle reminder to take a note of such alerts.
Neil Hobson, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 5:58pm
Hi,
Yes it can be done using Powershell script.
Plz have a look into this article:
Managing Exchange 2007 Mailbox Quotas with Windows PowerShell
http://www.simple-talk.com/sysadmin/powershell/managing-exchange-2007-mailbox-quotas-with-windows-powershell/
Also have a look into this forum thread (last 2 posts) for how to send email using powershell.
http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/fe78bfb5-c516-4c47-b41f-46d2c3094a8f
Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
July 19th, 2010 6:00pm
Thanks for the reply and the helpful links.
I want the script to have the users pulled out from all the databases,sorted as per the threshold value say approached 90% of their assigned quota, pick their manager from the properties field,send an email to both the users and there manager using a single
scheduled script.I am finding it difficult to construct such a script , please suggest.
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2010 9:42am
I came accross this
http://www.messageops.com/blog/index.php?/archives/31-Exchange-Online-Mailbox-Size-Warning-Notification-Script.html
any ideas to include user's manager while sending mail using the script ?
July 21st, 2010 8:06am
Hi,
In your script once u got the email address of the mailbox then u can easily find the manager's primary smtp address using these lines of script:
Here "user@domain.com" is the mailbox's email address, whose quota is being checked
$mbx = get-user "user@domain.com"
$manager = $mbx.Manager
$emailID =(get-mailbox $manager.DistinguishedName).PrimarySmtpAddress
$emailID = $emailID.ToString()
Now EmailID will represent the PrimarySmtpAddress of the manager, if a mailbox exists for him.
Regards,
Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 7:47pm
Thanks Laeeq, I'll try it out this week.
July 26th, 2010 1:37pm