July 2017
Intermediate to advanced
648 pages
31h 9m
English
Inbox rules are used to process messages sent to a mailbox based on a certain set of criteria, and to then take an action on that message if the condition is met. In the previous example, we created an inbox rule for the mailbox that would mark messages from the sales@contoso.com address with high importance. The New-InboxRule cmdlet provides a number of rule predicate parameters that allow you to define the conditions used for the rules you create.
Let's take a look at another example. Say that we want to create a rule that will check the subject or body of all incoming messages for a certain keyword. If there is a match, we'll send the message to the deleted items folder:
New-InboxRule -Name "Delete Rule" `
-Mailbox dave ...Read now
Unlock full access