cmdlet: Enable-InboxRule
Posted On December 5, 2018
Q: Is there a way to enable an Inbox rule for a mailbox?
A: Yes.
You can use the Enable-InboxRule cmdlet to enable an Inbox rule. Inbox rules process messages in an Inbox based on conditions specified and take actions. The enable/disable InboxRule cmdelts, assist in troubleshooting end user’s mailboxes.
Enable-InboxRule "Move To Junk Mail" -Mailbox "User"
This example enables the Inbox rule named ‘Move To Junk Mail’ in the mailbox that belongs to ‘User’.