Exchange Query for individual mailbox rules

Posted on 2009-07-10
Last Modified: 2012-06-22
Does anyone know if there is a way to query an Exchange 2007 mailbox and see if it has any rules configured on it?  Not a forwarding rule configured on the Exchange mailbox, but actual mailbox rules created by the user.  Any help would be greatly appreciated.
Question by:traviskrings
  • 2
  • 2
LVL 58

Expert Comment

ID: 24830637

You cannot do this natively through Exchange.
The easiest route would be to grant yourself access privileges, then open the user's mailbox in Outlook Web Access and check for the presence of rules there.


Author Comment

ID: 24831353
I am specifically looking for a way to script this so I can get many at once. Someone mentioned WMi for this but I can't find a way.
LVL 58

Expert Comment

ID: 24831468

WMI is for managing Windows; I don't know and don't think you can use it to interface with an Exchange mailbox.
Similarly, the management and scripting tools provided in Exchange are for managing Exchange itself. By default, administrators do not have access to their users' mailboxes, so no scripting tools are provided to parse these mailboxes.

There may be a way to do it, but couple finding a way of processing every user's mailbox along with actually accessing and decoding the way in which the rules are stored in the mailbox, and you have a bit of a headache to work through.

LVL 40

Accepted Solution

Subsun earned 500 total points
ID: 24831924
here is a script from Glen's Exchange Dev Blog, Check if it works for you..

Author Closing Comment

ID: 31602311
My need for this solution became less important and I didn't have the time to dig into the link  you sent, but I will give you the points because it is the only response that was a potential method to accomplish the task.

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
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…

828 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