Solved

Query Exchange Transport Rules with Powershell

Posted on 2015-01-20
1
829 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
1 Comment
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
In this video we show how to create a mailbox database 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 >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

839 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