Query Exchange Transport Rules with Powershell

I would like to query mailboxes that dont have transport rules applied to them and export the list to excel using powershell. Please help!
portillosjohnAsked:
Who is Participating?
 
Will SzymkowskiConnect With a Mentor Senior Solution ArchitectCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.