cmdlet: Set-InboxRule
Posted On November 21, 2018
Q: Is there a way to change or set an Inbox rule on an end user’s mailbox?
A: Yes.
The Set-InboxRule cmdlet allows you to modify, enable, disable, or even create a rule with this cmdlet. Other than the Get-InboxRule cmdlet, one could argue, the Set-InboxRule is the only other cmdlet you need to know to manage mailbox Inbox rules.
Set-InboxRule ProjectContoso -MarkImportance "High"
This example modifies the action of the existing Inbox rule 'ProjectContoso' of the parameter MarkImportance and is used to mark the messages with high importance that the rule applies to.