As part of troubleshooting something I needed to quickly find what Outlook rules the user had for deleting messages. So I came up with this one-liner.
1 |
Get-InboxRule -Mailbox mev | ?{ ($_.Enabled -eq "True") -and ($_.DeleteMessage -eq "True") } | fl Name,Description |
The result is a list of rule names and a friendly description of what the rule does.
Run this from the EMS of course.