Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
Exchange Server
Total Items in Mailbox / time an item has been in mailbox
Last Post 05 Feb 2010 06:39 AM by
jodelvalle
. 0 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
jodelvalle
New Member
Posts:1
05 Feb 2010 06:39 AM
Hi,
*WARNING*
I know nothing about scripting (shame on me) and need help with the following:
I am running Exchange 2003 Ent. SP2 and I have multiple mailboxes I need to monitor. Items sent to these mailboxes get automatically removed by a script and imported into our Imaging system. So these mailboxes should be empty all the time. If an item has been in the mailbox for more that 2 minutes and it has not been removed then that's an indication that something broke.
I know there is an "Exchange_Mailbox" WMI Class and it has a TotalItems property. Can powershell be used for this or vbscript?
I would like to be able to specify the mailboxes I want to monitor on the script and for the script to check the amount of items in those mailboxes and if the total number of items exceeds an amount I would like to receive an email notifying me.
Ideally, it would be nice for the script to check how long an item has been in the mailbox instead of checking for the total items, but I guess either one would work.
Your help will be appreciated.
Thanks.
Josue
You are not authorized to post a reply.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
Exchange Server
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2