How to find all Inbox rules in Office 365

Account needs to have a mailbox license to run this

Get-ExoMailbox -ResultSize Unlimited | 
Select-Object -ExpandProperty UserPrincipalName | 
Foreach-Object {Get-InboxRule -Mailbox $_ | 
Select-Object -Property MailboxOwnerID,Name,Enabled,From,Description,RedirectTo,ForwardTo}
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...