CmdID / PowerShell / Cmdlets / Set
Set-InboxRule
Use the Set-InboxRule cmdlet to modify existing Inbox rules in mailboxes. Exchange PowerShell reference
From the Exchange PowerShell reference 83 parameters Its page in the reference
Parameters
Show its 83 parameters
-IdentityThe Identity parameter specifies the Inbox rule that you want to modify.-AlwaysDeleteOutlookRulesBlobThe AlwaysDeleteOutlookRulesBlob switch hides a warning message when you use Outlook on the web (formerly known as Outlook Web App) or Exchange PowerShell to modify Inbox rules.-AnyCategory-AssignedCategories-ApplyCategoryThe ApplyCategory parameter specifies an action for the Inbox rule that applies the specified category to messages.-ApplySystemCategoryThe ApplySystemCategory parameter specifies an action for the Inbox rule that applies the specified system category to messages.-BodyContainsWordsThe BodyContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the body of messages.-BulkCategory-ClearCategories-ClearFlag-CompleteFlag-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-CopyToFolderThe CopyToFolder parameter specifies an action for the Inbox rule that copies messages to the specified mailbox folder.-DeleteSystemCategoryThe DeleteSystemCategory parameter specifies an action for the Inbox rule that deletes the specified system category from messages.-DeleteMessageThe DeleteMessage parameter specifies an action for the Inbox rule that sends messages to the Deleted Items folder.-DisplayAlert-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ExceptIfAnyCategory-ExceptIfAssignedCategories-ExceptIfBulkCategory-ExceptIfBodyContainsWordsThe ExceptIfBodyContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the body of messages.-ExceptIfFlaggedForActionThe ExceptIfFlaggedForAction parameter specifies an exception for the Inbox rule that looks messages with the specified message flag.-ExceptIfFromThe ExceptIfFrom parameter specifies an exception for the Inbox rule that looks for the specified sender in messages.-ExceptIfFromAddressContainsWordsThe ExceptIfFromAddressContainsWords parameter specifies an exception for the Inbox rule that looks for messages where the specified words are in the sender's email address.-ExceptIfHasAttachmentThe ExceptIfHasAttachment parameter specifies an exception for the Inbox rule that looks for messages with attachments.-ExceptIfHasClassificationThe ExceptIfHasClassification parameter specifies an exception for the Inbox rule that looks for messages with the specified message classification.-ExceptIfHeaderContainsWordsThe HeaderContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the header fields of messages.-ExceptIfMessageTypeMatchesThe ExceptIfMessageTypeMatches parameter specifies an exception for the Inbox rule that looks for messages of the specified type.-ExceptIfMyNameInCcBoxThe ExceptIfMyNameInCcBox parameter specifies an exception for the Inbox rule that looks for messages where the mailbox owner is in the Cc field.-ExceptIfMyNameInToBoxThe ExceptIfMyNameInToBox parameter specifies an exception for the Inbox rule that looks for messages where the mailbox owner is in the To field.-ExceptIfMyNameInToOrCcBoxThe ExceptIfMyNameInToOrCcBox parameter specifies an exception for the Inbox rule that looks for messages where the mailbox owner is in the To or Cc fields Valid values are.-ExceptIfMyNameNotInToBoxThe ExceptIfMyNameNotInToBox parameter specifies an exception for the Inbox rule that looks for messages where the mailbox owner isn't in the To field.-ExceptIfReceivedAfterDateThe ExceptIfReceivedAfterDate parameter specifies an exception for the Inbox rule that looks for messages received after the specified date.-ExceptIfReceivedBeforeDateThe ExceptIfReceivedBeforeDate parameter specifies an exception for the Inbox rule that looks for messages received before the specified date.-ExceptIfRecipientAddressContainsWordsThe ExceptIfRecipientAddressContainsWords parameter specifies an exception for the Inbox rule that looks for messages where the specified words are in recipient email addresses.-ExceptIfSentOnlyToMeThe ExceptIfSentOnlyToMe parameter specifies an exception for the Inbox rule that looks for messages where the only recipient is the mailbox owner.-ExceptIfSentToThe ExceptIfSentTo parameter specifies an exception that looks for recipients in messages.-ExceptIfSubjectContainsWordsThe ExceptIfSubjectContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the Subject field of messages.-ExceptIfSubjectOrBodyContainsWordsThe ExceptIfSubjectOrBodyContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the Subject field or body of messages.-ExceptIfWithImportanceThe ExceptIfWithImportance parameter specifies an exception for the Inbox rule that looks for messages with the specified importance level.-ExceptIfWithinSizeRangeMaximumThe ExceptIfWithinSizeRangeMaximum parameter specifies part of an exception for the Inbox rule that looks for messages that smaller than specified maximum size.-ExceptIfWithinSizeRangeMinimumThe ExceptIfWithinSizeRangeMinimum parameter specifies part of an exception for the Inbox rule that looks for messages that are larger than the specified minimum size.-ExceptIfWithSensitivityThe ExceptIfWithSensitivity parameter specifies an exception for the Inbox rule that looks for messages with the specified sensitivity level.-FlaggedForActionThe FlaggedForAction parameter specifies a condition for the Inbox rule that looks for messages with the specified message flag.-FlagMessage-ForceThe Force switch hides warning or confirmation messages.-ForwardAsAttachmentToThe ForwardAsAttachmentTo parameter specifies an action for the Inbox rule that forwards the message to the specified recipient as an attachment.-ForwardToThe ForwardTo parameter specifies an action for the Inbox rule that forwards the message to the specified recipient.-FromThe From parameter specifies a condition for the Inbox rule that looks for the specified sender in messages.-FromAddressContainsWordsThe FromAddressContainsWords parameter specifies a condition for the Inbox rule that looks for messages where the specified words are in the sender's email address.-HasAttachmentThe HasAttachment parameter specifies a condition for the Inbox rule that looks for messages with attachments.-HasClassificationThe HasClassification parameter specifies a condition for the Inbox rule that looks for messages with the specified message classification.-HeaderContainsWordsThe HeaderContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the header fields of messages.-MailboxThe Mailbox parameter specifies the mailbox that contains the Inbox rule.-MarkAsReadThe MarkAsRead parameter specifies an action for the Inbox rule that marks messages as read.-MarkImportanceThe MarkImportance parameter specifies an action for the Inbox rule that marks messages with the specified importance flag.-MessageTypeMatchesThe MessageTypeMatches parameter specifies a condition for the Inbox rule that looks for messages of the specified type.-MoveToFolderThe MoveToFolder parameter specifies an action for the Inbox rule that moves messages to the specified mailbox folder.-MyNameInCcBoxThe MyNameInCcBox parameter specifies a condition for the Inbox rule that looks for messages where the mailbox owner is in the Cc field.-MyNameInToBoxThe MyNameInToBox parameter specifies a condition for the Inbox rule that looks for messages where the mailbox owner is in the To field.-MyNameInToOrCcBoxThe MyNameInToOrCcBox parameter specifies a condition for the Inbox rule that looks for messages where the mailbox owner is in the To or Cc fields Valid values are.-MyNameNotInToBoxThe MyNameNotInToBox parameter specifies a condition for the Inbox rule that looks for messages where the mailbox owner isn't in the To field.-NameThe Name parameter specifies a name for the Inbox rule.-PermanentDelete-PinMessageThe PinMessage parameter specifies an action for the Inbox rule that pins messages to the top of the Inbox.-PlaySound-PriorityThe Priority parameter specifies a priority for the Inbox rule that determines the order of rule processing.-ReceivedAfterDateThe ReceivedAfterDate parameter specifies a condition for the Inbox rule that looks for messages received after the specified date.-ReceivedBeforeDateThe ReceivedBeforeDate parameter specifies a condition for the Inbox rule that looks for messages received before the specified date.-RecipientAddressContainsWordsThe RecipientAddressContainsWords parameter specifies a condition for the Inbox rule that looks for messages where the specified words are in recipient email addresses.-RedirectToThe RedirectTo parameter specifies an action for the Inbox rule that redirects the message to the specified recipient.-SendTextMessageNotificationToThe SendTextMessageNotificationTo parameter specifies an action for the Inbox rule that send a text message notification to the specified telephone number.-SentOnlyToMeThe SentOnlyToMe parameter specifies a condition for the Inbox rule that looks for messages where the only recipient is the mailbox owner.-SentToThe SentTo parameter specifies a condition for the Inbox rule that looks for messages with the specified recipients.-SoftDeleteMessage-StopProcessingRulesThe StopProcessingRules parameter specifies an action for the Inbox rule that stops processing additional rules if the conditions of this Inbox rule are met.-SubjectContainsWordsThe SubjectContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the Subject field of messages.-SubjectOrBodyContainsWordsThe SubjectOrBodyContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the Subject field or body of messages.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.-WithImportanceThe WithImportance parameter specifies a condition for the Inbox rule that looks for messages with the specified importance level.-WithinSizeRangeMaximumThe WithinSizeRangeMaximum parameter specifies part of a condition for the Inbox rule that looks for messages that are smaller than specified maximum size.-WithinSizeRangeMinimumThe WithinSizeRangeMinimum parameter specifies part of a condition for the Inbox rule that looks for messages that are larger than the specified minimum size.-WithSensitivityThe WithSensitivity parameter specifies a condition for the Inbox rule that looks for messages with the specified sensitivity level.