cmdlet: New-InboxRule

Q: Is there a way to create a new Inbox rule for a mailbox?

A: Yes.

The New-InboxRule cmdlet creates an Inbox rule to process messages and perform tasks for an Exchange mailbox. This cmdlet works both for on premises and online versions of Exchange. Actions can be taken such as move, copy, or even delete against the processed messages. There are many parameters and logic to set within an Inbox rule.

New-InboxRule "CheckActionRequired-MyNameInToBox $true -MarkImportance "High"

This example raises the message importance to ‘High’ if the mailbox owner is in the ‘To field’. You’ll also notice, that some parameters have true/false options, custom text options, or set values allowed.