?
Solved

Query Exchange Transport Rules with Powershell

Posted on 2015-01-20
1
Medium Priority
?
1,028 Views
Last Modified: 2015-02-04
I would like to query mailboxes that dont have transport rules applied to them and export the list to excel using powershell. Please help!
0
Comment
Question by:portillosjohn
[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
1 Comment
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 2000 total points
ID: 40561077
Unfortunately there are no Powershell attributes that allow you to see if the mailbox has a transport rule applied. Transport rules are applied at the Transport service level, not at the mailbox level. You can see policies but not transport rules.

This is becuase a mailbox when sending an email goes through the Transport layer at this point if the mail message meets the criteria then the transport rule is applied.

How many transport rules do you have in your environmet? If you dont have many it shouldn't be hard to look at each transport rule and view the conditions.

You can also use powershell to view the transport rules.

Get-TransportRule | ft

Will.
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

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

752 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