{
	"id": "0f2f2b6d-c3f5-4b94-bc98-218ed6b46a37",
	"created_at": "2026-04-06T00:10:38.788191Z",
	"updated_at": "2026-04-10T13:12:18.124608Z",
	"deleted_at": null,
	"sha1_hash": "d464ff9b1a4cfde16292109b4a397f06a388224b",
	"title": "New-InboxRule (ExchangePowerShell)",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 252075,
	"plain_text": "New-InboxRule (ExchangePowerShell)\r\nBy chrisda\r\nArchived: 2026-04-05 14:01:43 UTC\r\nIn this article\r\n1. Syntax\r\n2. Description\r\n3. Examples\r\n4. Parameters\r\n5. Inputs\r\n6. Outputs\r\nThis cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings\r\nmight be exclusive to one environment or the other.\r\nUse the New-InboxRule cmdlet to create Inbox rules in mailboxes. Inbox rules process messages in the Inbox\r\nbased on conditions and take actions such as moving a message to a specified folder or deleting a message.\r\nYou must have adequate permissions on the mailbox to create an Inbox rule.\r\nFor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.\r\nSyntax\r\nIdentity\r\nNew-InboxRule\r\n [-Name] \u003cString\u003e\r\n [-AlwaysDeleteOutlookRulesBlob]\r\n [-ApplyCategory \u003cMultiValuedProperty\u003e]\r\n [-ApplySystemCategory \u003cMultiValuedProperty\u003e]\r\n [-BodyContainsWords \u003cMultiValuedProperty\u003e]\r\n [-Confirm]\r\n [-CopyToFolder \u003cMailboxFolderIdParameter\u003e]\r\n [-DeleteMessage \u003cBoolean\u003e]\r\n [-DeleteSystemCategory \u003cMultiValuedProperty\u003e]\r\n [-DomainController \u003cFqdn\u003e]\r\n [-ExceptIfBodyContainsWords \u003cMultiValuedProperty\u003e]\r\n [-ExceptIfFlaggedForAction \u003cString\u003e]\r\n [-ExceptIfFrom \u003cRecipientIdParameter[]\u003e]\r\n [-ExceptIfFromAddressContainsWords \u003cMultiValuedProperty\u003e]\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 1 of 62\n\n[-ExceptIfHasAttachment \u003cBoolean\u003e]\r\n [-ExceptIfHasClassification \u003cMessageClassificationIdParameter[]\u003e]\r\n [-ExceptIfHeaderContainsWords \u003cMultiValuedProperty\u003e]\r\n [-ExceptIfMessageTypeMatches \u003cInboxRuleMessageType\u003e]\r\n [-ExceptIfMyNameInCcBox \u003cBoolean\u003e]\r\n [-ExceptIfMyNameInToBox \u003cBoolean\u003e]\r\n [-ExceptIfMyNameInToOrCcBox \u003cBoolean\u003e]\r\n [-ExceptIfMyNameNotInToBox \u003cBoolean\u003e]\r\n [-ExceptIfReceivedAfterDate \u003cExDateTime\u003e]\r\n [-ExceptIfReceivedBeforeDate \u003cExDateTime\u003e]\r\n [-ExceptIfRecipientAddressContainsWords \u003cMultiValuedProperty\u003e]\r\n [-ExceptIfSentOnlyToMe \u003cBoolean\u003e]\r\n [-ExceptIfSentTo \u003cRecipientIdParameter[]\u003e]\r\n [-ExceptIfSubjectContainsWords \u003cMultiValuedProperty\u003e]\r\n [-ExceptIfSubjectOrBodyContainsWords \u003cMultiValuedProperty\u003e]\r\n [-ExceptIfWithImportance \u003cImportance\u003e]\r\n [-ExceptIfWithinSizeRangeMaximum \u003cByteQuantifiedSize\u003e]\r\n [-ExceptIfWithinSizeRangeMinimum \u003cByteQuantifiedSize\u003e]\r\n [-ExceptIfWithSensitivity \u003cSensitivity\u003e]\r\n [-FlaggedForAction \u003cString\u003e]\r\n [-Force]\r\n [-ForwardAsAttachmentTo \u003cRecipientIdParameter[]\u003e]\r\n [-ForwardTo \u003cRecipientIdParameter[]\u003e]\r\n [-From \u003cRecipientIdParameter[]\u003e]\r\n [-FromAddressContainsWords \u003cMultiValuedProperty\u003e]\r\n [-HasAttachment \u003cBoolean\u003e]\r\n [-HasClassification \u003cMessageClassificationIdParameter[]\u003e]\r\n [-HeaderContainsWords \u003cMultiValuedProperty\u003e]\r\n [-Mailbox \u003cMailboxIdParameter\u003e]\r\n [-MarkAsRead \u003cBoolean\u003e]\r\n [-MarkImportance \u003cImportance\u003e]\r\n [-MessageTypeMatches \u003cInboxRuleMessageType\u003e]\r\n [-MoveToFolder \u003cMailboxFolderIdParameter\u003e]\r\n [-MyNameInCcBox \u003cBoolean\u003e]\r\n [-MyNameInToBox \u003cBoolean\u003e]\r\n [-MyNameInToOrCcBox \u003cBoolean\u003e]\r\n [-MyNameNotInToBox \u003cBoolean\u003e]\r\n [-PinMessage \u003cBoolean\u003e]\r\n [-Priority \u003cInt32\u003e]\r\n [-ReceivedAfterDate \u003cExDateTime\u003e]\r\n [-ReceivedBeforeDate \u003cExDateTime\u003e]\r\n [-RecipientAddressContainsWords \u003cMultiValuedProperty\u003e]\r\n [-RedirectTo \u003cRecipientIdParameter[]\u003e]\r\n [-SendTextMessageNotificationTo \u003cMultiValuedProperty\u003e]\r\n [-SentOnlyToMe \u003cBoolean\u003e]\r\n [-SentTo \u003cRecipientIdParameter[]\u003e]\r\n [-SoftDeleteMessage \u003cBoolean\u003e]\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 2 of 62\n\n[-StopProcessingRules \u003cBoolean\u003e]\r\n [-SubjectContainsWords \u003cMultiValuedProperty\u003e]\r\n [-SubjectOrBodyContainsWords \u003cMultiValuedProperty\u003e]\r\n [-WhatIf]\r\n [-WithImportance \u003cImportance\u003e]\r\n [-WithinSizeRangeMaximum \u003cByteQuantifiedSize\u003e]\r\n [-WithinSizeRangeMinimum \u003cByteQuantifiedSize\u003e]\r\n [-WithSensitivity \u003cSensitivity\u003e]\r\n [\u003cCommonParameters\u003e]\r\nFromMessage\r\nNew-InboxRule\r\n -FromMessageId \u003cMailboxStoreObjectIdParameter\u003e\r\n [-ValidateOnly]\r\n [-AlwaysDeleteOutlookRulesBlob]\r\n [-Confirm]\r\n [-DomainController \u003cFqdn\u003e]\r\n [-ExceptIfFromSubscription \u003cAggregationSubscriptionIdentity[]\u003e]\r\n [-Force]\r\n [-FromSubscription \u003cAggregationSubscriptionIdentity[]\u003e]\r\n [-Mailbox \u003cMailboxIdParameter\u003e]\r\n [-WhatIf]\r\n [\u003cCommonParameters\u003e]\r\nDescription\r\nWhen you create, modify, remove, enable, or disable an Inbox rule in Exchange PowerShell, any client-side rules\r\ndisabled by Microsoft Outlook and outbound rules are removed.\r\nParameters that are used for conditions also have corresponding exception parameters. When conditions specified\r\nin an exception are matched, the rule isn't applied to the message. Exception parameters begin with ExceptIf. For\r\nexample, the exception parameter for SubjectOrBodyContainsWords is ExceptIfSubjectOrBodyContainsWords.\r\nYou need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for\r\nthe cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to\r\nyou. To find the permissions required to run any cmdlet or parameter in your organization, see Find the\r\npermissions required to run any Exchange cmdlet.\r\nExamples\r\nExample 1\r\nNew-InboxRule -Mailbox chris@contoso.com -Name \"CheckActionRequired\" -MyNameInToBox $true -FlaggedForAction Any\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 3 of 62\n\nThis example raises the message importance to High if the mailbox owner is in the To field. In addition, the\r\nmessage is flagged for action.\r\nParameters\r\n-AlwaysDeleteOutlookRulesBlob\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe AlwaysDeleteOutlookRulesBlob switch hides a warning message when you use Outlook on the web\r\n(formerly known as Outlook Web App) or Exchange PowerShell to modify Inbox rules. You don't need to specify\r\na value with this switch.\r\nParameter properties\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ApplyCategory\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ApplyCategory parameter specifies an action for the Inbox rule that applies the specified category to\r\nmessages. A valid value is any text value that you want to define as a category. You can specify multiple\r\ncategories separated by commas. If the value contains spaces, enclose the value in quotation marks (\").\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 4 of 62\n\nThe categories that you specify for this parameter are defined in the mailbox (they aren't shared between\r\nmailboxes).\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ApplySystemCategory\r\nApplicable: Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online\r\nThe ApplySystemCategory parameter specifies an action for the Inbox rule that applies the specified system\r\ncategory to messages. System categories are available to all mailboxes in the organization. Valid values are:\r\nNotDefined\r\nBills\r\nDocument\r\nDocumentPlus\r\nEvent\r\nFamily\r\nFile\r\nFlight\r\nFromContact\r\nImportant\r\nLiveView\r\nLodging\r\nMailingList\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 5 of 62\n\nNewsletter\r\nPhoto\r\nPurchase\r\nRentalCar\r\nRestaurantReservation\r\nRetiredPromotion\r\nShippingNotification\r\nShopping\r\nSocialUpdate\r\nTravel\r\nVideo\r\nYou can specify multiple values separated by commas.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-BodyContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe BodyContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or\r\nphrases in the body of messages.\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 6 of 62\n\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding exception parameter to this condition is ExceptIfBodyContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-Confirm\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the\r\ncmdlet depends on if the cmdlet requires confirmation before proceeding.\r\nDestructive cmdlets (for example, Remove-* cmdlets) have a built-in pause that forces you to acknowledge\r\nthe command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this\r\nexact syntax: -Confirm:$false .\r\nMost other cmdlets (for example, New-* and Set-* cmdlets) don't have a built-in pause. For these cmdlets,\r\nspecifying the Confirm switch without a value introduces a pause that forces you acknowledge the\r\ncommand before proceeding.\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 7 of 62\n\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nAliases: cf\r\nParameter sets\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-CopyToFolder\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe CopyToFolder parameter specifies an action for the Inbox rule that copies messages to the specified mailbox\r\nfolder. The syntax is MailboxID:\\ParentFolder[\\SubFolder] .\r\nFor the value of MailboxID , you can use any value that uniquely identifies the mailbox. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nDomain\\Username\r\nEmail address\r\nGUID\r\nLegacyExchangeDN\r\nSamAccountName\r\nUser ID or user principal name (UPN)\r\nExample values for this parameter are john@contoso.com:\\Marketing or John:\\Inbox\\Reports .\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 8 of 62\n\nType: MailboxFolderIdParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-DeleteMessage\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe DeleteMessage parameter specifies an action for the Inbox rule that sends messages to the Deleted Items\r\nfolder. Valid values are:\r\n$true: Messages that match the conditions of the rule are moved to the Deleted Items folder.\r\n$false: The action isn't used.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 9 of 62\n\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-DeleteSystemCategory\r\nApplicable: Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online\r\nThe DeleteSystemCategory parameter specifies an action for the Inbox rule that deletes the specified system\r\ncategory from messages. System categories are available to all mailboxes in the organization. Valid values are:\r\nNotDefined\r\nBills\r\nDocument\r\nDocumentPlus\r\nEvent\r\nFamily\r\nFile\r\nFlight\r\nFromContact\r\nImportant\r\nLiveView\r\nLodging\r\nMailingList\r\nNewsletter\r\nPhoto\r\nPurchase\r\nRentalCar\r\nRestaurantReservation\r\nRetiredPromotion\r\nShippingNotification\r\nShopping\r\nSocialUpdate\r\nTravel\r\nVideo\r\nYou can specify multiple values separated by commas.\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 10 of 62\n\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-DomainController\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE\r\nThis parameter is available only in on-premises Exchange.\r\nThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or\r\nwrite data to Active Directory. You identify the domain controller by its fully qualified domain name (FQDN). For\r\nexample, dc01.contoso.com.\r\nParameter properties\r\nType: Fqdn\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\n(All)\r\nPosition: Named\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 11 of 62\n\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfBodyContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfBodyContainsWords parameter specifies an exception for the Inbox rule that looks for the specified\r\nwords or phrases in the body of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding condition parameter to this exception is BodyContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfFlaggedForAction\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 12 of 62\n\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfFlaggedForAction parameter specifies an exception for the Inbox rule that looks messages with the\r\nspecified message flag. Valid values are:\r\nAny\r\nCall\r\nDoNotForward\r\nFollowUp\r\nForYourInformation\r\nForward\r\nNoResponseNecessary\r\nRead\r\nReply\r\nReplyToAll\r\nReview\r\nThe corresponding condition parameter to this exception is FlaggedForAction.\r\nParameter properties\r\nType: String\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfFrom\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 13 of 62\n\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfFrom parameter specifies an exception for the Inbox rule that looks for the specified sender in\r\nmessages. You can use any value that uniquely identifies the sender. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nThe corresponding condition parameter to this exception is From.\r\nParameter properties\r\nType: RecipientIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfFromAddressContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 14 of 62\n\nThe ExceptIfFromAddressContainsWords parameter specifies an exception for the Inbox rule that looks for\r\nmessages where the specified words are in the sender's email address.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding condition parameter to this exception is FromAddressContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfHasAttachment\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfHasAttachment parameter specifies an exception for the Inbox rule that looks for messages with\r\nattachments. Valid values are:\r\n$true: The rule action isn't applied to messages that have attachments.\r\n$false: The exception isn't used.\r\nThe corresponding condition parameter to this exception is HasAttachment.\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 15 of 62\n\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfHasClassification\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfHasClassification parameter specifies an exception for the Inbox rule that looks for messages with\r\nthe specified message classification. You can find message classifications by using the Get-MessageClassification\r\ncmdlet. You can specify multiple message classifications separated by commas.\r\nThe corresponding condition parameter to this exception is HasClassification.\r\nParameter properties\r\nType: MessageClassificationIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 16 of 62\n\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe HeaderContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words\r\nor phrases in the header fields of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding condition parameter to this exception is HeaderContainsWords.\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfMessageTypeMatches\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfMessageTypeMatches parameter specifies an exception for the Inbox rule that looks for messages of\r\nthe specified type. Valid values are:\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 17 of 62\n\nAutomaticReply\r\nAutomaticForward\r\nEncrypted\r\nCalendaring\r\nCalendaringResponse\r\nPermissionControlled\r\nVoicemail\r\nSigned\r\nApprovalRequest\r\nReadReceipt\r\nNonDeliveryReport\r\nThe corresponding condition parameter to this exception is MessageTypeMatches.\r\nParameter properties\r\nType: InboxRuleMessageType\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfMyNameInCcBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfMyNameInCcBox parameter specifies an exception for the Inbox rule that looks for messages where\r\nthe mailbox owner is in the Cc field. Valid values are:\r\n$true: The rule action isn't applied to messages where the mailbox owner is in the Cc field.\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 18 of 62\n\n$false: The exception isn't used.\r\nThe corresponding condition parameter to this exception is MyNameInCcBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfMyNameInToBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfMyNameInToBox parameter specifies an exception for the Inbox rule that looks for messages where\r\nthe mailbox owner is in the To field. Valid values are:\r\n$true: The rule action isn't applied to messages where the mailbox owner is in the To field.\r\n$false: The exception isn't used.\r\nThe corresponding condition parameter to this exception is MyNameInToBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 19 of 62\n\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfMyNameInToOrCcBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfMyNameInToOrCcBox parameter specifies an exception for the Inbox rule that looks for messages\r\nwhere the mailbox owner is in the To or Cc fields Valid values are.\r\n$true: The rule action isn't applied to messages where the mailbox owner is in the To or Cc fields.\r\n$false: The exception isn't used.\r\nThe corresponding condition parameter to this exception is MyNameInToOrCcBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 20 of 62\n\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfMyNameNotInToBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfMyNameNotInToBox parameter specifies an exception for the Inbox rule that looks for messages\r\nwhere the mailbox owner isn't in the To field. Valid values are:\r\n$true: The rule action isn't applied to messages where the mailbox owner isn't in the To field.\r\n$false: The exception isn't used.\r\nThe corresponding condition parameter to this exception is MyNameNotInToBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfReceivedAfterDate\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfReceivedAfterDate parameter specifies an exception for the Inbox rule that looks for messages\r\nreceived after the specified date.\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 21 of 62\n\nUse the short date format that's defined in the Regional Options settings on the computer where you're running the\r\ncommand. For example, if the computer is configured to use the short date format MM/dd/yyyy, enter 09/01/2018\r\nto specify September 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter\r\nthe date and time of day, enclose the value in quotation marks (\"), for example, \"09/01/2018 5:00 PM\".\r\nThe corresponding condition parameter to this exception is ReceivedAfterDate.\r\nParameter properties\r\nType: ExDateTime\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfReceivedBeforeDate\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfReceivedBeforeDate parameter specifies an exception for the Inbox rule that looks for messages\r\nreceived before the specified date.\r\nUse the short date format that's defined in the Regional Options settings on the computer where you're running the\r\ncommand. For example, if the computer is configured to use the short date format MM/dd/yyyy, enter 09/01/2018\r\nto specify September 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter\r\nthe date and time of day, enclose the value in quotation marks (\"), for example, \"09/01/2018 5:00 PM\".\r\nThe corresponding condition parameter to this exception is ReceivedBeforeDate.\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 22 of 62\n\nType: ExDateTime\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfRecipientAddressContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfRecipientAddressContainsWords parameter specifies an exception for the Inbox rule that looks for\r\nmessages where the specified words are in recipient email addresses.\r\nYou can specify multiple values separated by commas. The maximum length of this parameter is 255 characters.\r\nThe corresponding condition parameter to this exception is RecipientAddressContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 23 of 62\n\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfSentOnlyToMe\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfSentOnlyToMe parameter specifies an exception for the Inbox rule that looks for messages where the\r\nonly recipient is the mailbox owner. Valid values are:\r\n$true: The rule action isn't applied to messages where the mailbox owner is the only recipient.\r\n$false: The exception isn't used.\r\nThe corresponding condition parameter to this exception is SentOnlyToMe.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfSentTo\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 24 of 62\n\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfSentTo parameter specifies an exception that looks for recipients in messages. You can use any value\r\nthat uniquely identifies the recipient. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nThe corresponding condition parameter to this exception is SentTo.\r\nParameter properties\r\nType: RecipientIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfSubjectContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 25 of 62\n\nThe ExceptIfSubjectContainsWords parameter specifies an exception for the Inbox rule that looks for the specified\r\nwords or phrases in the Subject field of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding condition parameter to this exception is SubjectContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfSubjectOrBodyContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfSubjectOrBodyContainsWords parameter specifies an exception for the Inbox rule that looks for the\r\nspecified words or phrases in the Subject field or body of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding condition parameter to this exception is SubjectOrBodyContainsWords.\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 26 of 62\n\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfWithImportance\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfWithImportance parameter specifies an exception for the Inbox rule that looks for messages with the\r\nspecified importance level. Valid values are:\r\nHigh\r\nNormal\r\nLow\r\nThe corresponding condition parameter to this exception is WithImportance.\r\nParameter properties\r\nType: Importance\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 27 of 62\n\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfWithinSizeRangeMaximum\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfWithinSizeRangeMaximum parameter specifies part of an exception for the Inbox rule that looks for\r\nmessages that smaller than specified maximum size.\r\nWhen you enter a value, qualify the value with one of the following units:\r\nB (bytes)\r\nKB (kilobytes)\r\nMB (megabytes)\r\nGB (gigabytes)\r\nTB (terabytes)\r\nUnqualified values are typically treated as bytes, but small values might be rounded up to the nearest kilobyte.\r\nYou need to use this parameter with the ExceptIfWithinSizeRangeMinimum parameter, and the value of this\r\nparameter must be greater than the value of ExceptIfWithinSizeRangeMinimum.\r\nThe corresponding condition parameter to this exception is WithinSizeRangeMaximum.\r\nParameter properties\r\nType: ByteQuantifiedSize\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 28 of 62\n\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfWithinSizeRangeMinimum\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfWithinSizeRangeMinimum parameter specifies part of an exception for the Inbox rule that looks for\r\nmessages that are larger than the specified minimum size.\r\nWhen you enter a value, qualify the value with one of the following units:\r\nB (bytes)\r\nKB (kilobytes)\r\nMB (megabytes)\r\nGB (gigabytes)\r\nTB (terabytes)\r\nUnqualified values are typically treated as bytes, but small values might be rounded up to the nearest kilobyte.\r\nYou need to use this parameter with the ExceptIfWithinSizeRangeMaximum parameter, and the value of this\r\nparameter must be less than the value of ExceptIfWithinSizeRangeMaximum.\r\nThe corresponding condition parameter to this exception is WithinSizeRangeMinimum.\r\nParameter properties\r\nType: ByteQuantifiedSize\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 29 of 62\n\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ExceptIfWithSensitivity\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ExceptIfWithSensitivity parameter specifies an exception for the Inbox rule that looks for messages with the\r\nspecified sensitivity level. Valid values are:\r\nNormal\r\nPersonal\r\nPrivate\r\nCompanyConfidential\r\nThe corresponding condition parameter to this exception is WithSensitivity.\r\nParameter properties\r\nType: Sensitivity\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 30 of 62\n\n-FlaggedForAction\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe FlaggedForAction parameter specifies a condition for the Inbox rule that looks for messages with the\r\nspecified message flag. Valid values are:\r\nAny\r\nCall\r\nDoNotForward\r\nFollowUp\r\nForYourInformation\r\nForward\r\nNoResponseNecessary\r\nRead\r\nReply\r\nReplyToAll\r\nReview\r\nParameter properties\r\nType: String\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-Force\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 31 of 62\n\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe Force switch hides warning or confirmation messages. You don't need to specify a value with this switch.\r\nA confirmation prompt warns you if the mailbox contains rules that were created by Outlook, because any client-side rules are removed by the actions of this cmdlet.\r\nParameter properties\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ForwardAsAttachmentTo\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ForwardAsAttachmentTo parameter specifies an action for the Inbox rule that forwards the message to the\r\nspecified recipient as an attachment. You can use any value that uniquely identifies the recipient. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 32 of 62\n\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nParameter properties\r\nType: RecipientIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ForwardTo\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ForwardTo parameter specifies an action for the Inbox rule that forwards the message to the specified\r\nrecipient. You can use any value that uniquely identifies the recipient. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 33 of 62\n\nType: RecipientIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-From\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe From parameter specifies a condition for the Inbox rule that looks for the specified sender in messages. You\r\ncan use any value that uniquely identifies the sender. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nThe corresponding exception parameter to this condition is ExceptIfFrom.\r\nParameter properties\r\nType: RecipientIdParameter[]\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 34 of 62\n\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-FromAddressContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe FromAddressContainsWords parameter specifies a condition for the Inbox rule that looks for messages where\r\nthe specified words are in the sender's email address.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding exception parameter to this condition is ExceptIfFromAddressContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 35 of 62\n\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-FromMessageId\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe FromMessageId parameter specifies the message that's used to create the Inbox rule. The rule is based on the\r\nproperties of the message. You identify the message by its Base64-encoded StoreObjectId property value. For\r\nexample:\r\nMailboxId\\StoreObjectId\r\nStoreObjectId\r\nWhen you use this parameter to create an Inbox rule, the following message properties are used in the rule:\r\nSubject: The message subject is added to the SubjectContainsWords condition.\r\nFrom: The message sender is added to the From condition.\r\nTo and Cc: Recipients in the To and Cc fields are added to the SentTo condition.\r\nParameter properties\r\nType: MailboxStoreObjectIdParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nFromMessage\r\nPosition: Named\r\nMandatory: True\r\nValue from pipeline: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 36 of 62\n\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-HasAttachment\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe HasAttachment parameter specifies a condition for the Inbox rule that looks for messages with attachments.\r\nValid values are:\r\n$true: The rule action is applied to messages that have attachments.\r\n$false: The condition isn't used.\r\nThe corresponding exception parameter to this condition is ExceptIfHasAttachment.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-HasClassification\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe HasClassification parameter specifies a condition for the Inbox rule that looks for messages with the specified\r\nmessage classification. You can find message classifications by using the Get-MessageClassification cmdlet. You\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 37 of 62\n\ncan specify multiple message classifications separated by commas.\r\nThe corresponding exception parameter to this condition is ExceptIfHasClassification.\r\nParameter properties\r\nType: MessageClassificationIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe HeaderContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or\r\nphrases in the header fields of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding exception parameter to this condition is ExceptIfHeaderContainsWords.\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 38 of 62\n\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-Mailbox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe Mailbox parameter specifies the mailbox that contains the Inbox rule. You can use any value that uniquely\r\nidentifies the mailbox. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nDomain\\Username\r\nEmail address\r\nGUID\r\nLegacyExchangeDN\r\nSamAccountName\r\nUser ID or user principal name (UPN)\r\nParameter properties\r\nType: MailboxIdParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 39 of 62\n\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MarkAsRead\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MarkAsRead parameter specifies an action for the Inbox rule that marks messages as read. Valid values are:\r\n$true: Messages that match the conditions of the rule are marked as read.\r\n$false: The action isn't used.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MarkImportance\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MarkImportance parameter specifies an action for the Inbox rule that marks messages with the specified\r\nimportance flag. Valid values are:\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 40 of 62\n\nLow\r\nNormal\r\nHigh\r\nParameter properties\r\nType: Importance\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MessageTypeMatches\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MessageTypeMatches parameter specifies a condition for the Inbox rule that looks for messages of the\r\nspecified type. Valid values are:\r\nAutomaticReply\r\nAutomaticForward\r\nEncrypted\r\nCalendaring\r\nCalendaringResponse\r\nPermissionControlled\r\nVoicemail\r\nSigned\r\nApprovalRequest\r\nReadReceipt\r\nNonDeliveryReport\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 41 of 62\n\nThe corresponding exception parameter to this condition is ExceptIfMessageTypeMatches.\r\nParameter properties\r\nType: InboxRuleMessageType\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MoveToFolder\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MoveToFolder parameter specifies an action for the Inbox rule that moves messages to the specified mailbox\r\nfolder. The syntax is MailboxID:\\ParentFolder[\\SubFolder] .\r\nFor the value of MailboxID , you can use any value that uniquely identifies the mailbox. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nDomain\\Username\r\nEmail address\r\nGUID\r\nLegacyExchangeDN\r\nSamAccountName\r\nUser ID or user principal name (UPN)\r\nExample values for this parameter are john@contoso.com:\\Marketing or John:\\Inbox\\Reports .\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 42 of 62\n\nParameter properties\r\nType: MailboxFolderIdParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MyNameInCcBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MyNameInCcBox parameter specifies a condition for the Inbox rule that looks for messages where the\r\nmailbox owner is in the Cc field. Valid values are:\r\n$true: The rule action is applied to messages where the mailbox owner is in the Cc field.\r\n$false: The condition isn't used.\r\nThe corresponding exception parameter to this condition is ExceptIfMyNameInCcBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 43 of 62\n\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MyNameInToBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MyNameInToBox parameter specifies a condition for the Inbox rule that looks for messages where the\r\nmailbox owner is in the To field. Valid values are:\r\n$true: The rule action is applied to messages where the mailbox owner is in the To field.\r\n$false: The condition isn't used.\r\nThe corresponding exception parameter to this condition is ExceptIfMyNameInToBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MyNameInToOrCcBox\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 44 of 62\n\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MyNameInToOrCcBox parameter specifies a condition for the Inbox rule that looks for messages where the\r\nmailbox owner is in the To or Cc fields Valid values are.\r\n$true: The rule action is applied to messages where the mailbox owner is in the To or Cc fields.\r\n$false: The condition isn't used.\r\nThe corresponding exception parameter to this condition is ExceptIfMyNameInToOrCcBox.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-MyNameNotInToBox\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe MyNameNotInToBox parameter specifies a condition for the Inbox rule that looks for messages where the\r\nmailbox owner isn't in the To field. Valid values are:\r\n$true: The rule action is applied to messages where the mailbox owner isn't in the To field.\r\n$false: The condition isn't used.\r\nThe corresponding exception parameter to this condition is ExceptIfMyNameNotInToBox.\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 45 of 62\n\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-Name\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe Name parameter specifies the name of the Inbox rule. The maximum length is 512 characters. If the value\r\ncontains spaces, enclose the value in quotation marks (\").\r\nParameter properties\r\nType: String\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: 1\r\nMandatory: True\r\nValue from pipeline: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 46 of 62\n\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-PinMessage\r\nApplicable: Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online\r\nThe PinMessage parameter specifies an action for the Inbox rule that pins messages to the top of the Inbox. Valid\r\nvalues are:\r\n$true: Message that match the conditions of the rule are pinned to the top of the Inbox.\r\n$false: The action isn't used.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-Priority\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe Priority parameter specifies a priority for the Inbox rule that determines the order of rule processing. A lower\r\ninteger value indicates a higher priority,\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 47 of 62\n\nType: Int32\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ReceivedAfterDate\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ReceivedAfterDate parameter specifies a condition for the Inbox rule that looks for messages received after\r\nthe specified date.\r\nUse the short date format that's defined in the Regional Options settings on the computer where you're running the\r\ncommand. For example, if the computer is configured to use the short date format MM/dd/yyyy, enter 09/01/2018\r\nto specify September 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter\r\nthe date and time of day, enclose the value in quotation marks (\"), for example, \"09/01/2018 5:00 PM\".\r\nThe corresponding exception parameter to this condition is ExceptIfReceivedAfterDate.\r\nParameter properties\r\nType: ExDateTime\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 48 of 62\n\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ReceivedBeforeDate\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ReceivedBeforeDate parameter specifies a condition for the Inbox rule that looks for messages received\r\nbefore the specified date.\r\nUse the short date format that's defined in the Regional Options settings on the computer where you're running the\r\ncommand. For example, if the computer is configured to use the short date format MM/dd/yyyy, enter 09/01/2018\r\nto specify September 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter\r\nthe date and time of day, enclose the value in quotation marks (\"), for example, \"09/01/2018 5:00 PM\".\r\nThe corresponding exception parameter to this condition is ExceptIfReceivedBeforeDate.\r\nParameter properties\r\nType: ExDateTime\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 49 of 62\n\nValue from remaining arguments: False\r\n-RecipientAddressContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe RecipientAddressContainsWords parameter specifies a condition for the Inbox rule that looks for messages\r\nwhere the specified words are in recipient email addresses.\r\nYou can specify multiple values separated by commas. The maximum length of this parameter is 255 characters.\r\nThe corresponding exception parameter to this condition is ExceptIfRecipientAddressContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-RedirectTo\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe RedirectTo parameter specifies an action for the Inbox rule that redirects the message to the specified\r\nrecipient. You can use any value that uniquely identifies the recipient. For example:\r\nName\r\nAlias\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 50 of 62\n\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nParameter properties\r\nType: RecipientIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-SendTextMessageNotificationTo\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE\r\nThis parameter is available only in on-premises Exchange.\r\nThe SendTextMessageNotificationTo parameter specifies an action for the Inbox rule that send a text message\r\nnotification to the specified telephone number.\r\nYou can specify multiple values separated by commas.\r\nParameter properties\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 51 of 62\n\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-SentOnlyToMe\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe SentOnlyToMe parameter specifies a condition for the Inbox rule that looks for messages where the only\r\nrecipient is the mailbox owner. Valid values are:\r\n$true: The rule action is applied to messages where the mailbox owner is the only recipient.\r\n$false: The condition isn't used.\r\nThe corresponding exception parameter to this condition is ExceptIfSentOnlyToMe.\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 52 of 62\n\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-SentTo\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe SentTo parameter specifies a condition for the Inbox rule that looks for messages with the specified\r\nrecipients. You can use any value that uniquely identifies the recipient. For example:\r\nName\r\nAlias\r\nDistinguished name (DN)\r\nCanonical DN\r\nEmail address\r\nGUID\r\nYou can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation\r\nmarks, use the following syntax: \"Value1\",\"Value2\",...\"ValueN\" .\r\nThe corresponding exception parameter to this condition is ExceptIfSentTo.\r\nParameter properties\r\nType: RecipientIdParameter[]\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 53 of 62\n\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-SoftDeleteMessage\r\nApplicable: Exchange Online\r\nThis parameter is available only in the cloud-based service.\r\n{{ Fill SoftDeleteMessage Description }}\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-StopProcessingRules\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe StopProcessingRules parameter specifies an action for the Inbox rule that stops processing additional rules if\r\nthe conditions of this Inbox rule are met. Valid values are:If set to $true, the StopProcessingRules parameter\r\ninstructs Exchange to stop processing additional rules if the conditions of this Inbox rule are met.\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 54 of 62\n\n$true: Stop processing more rules.\r\n$false: The action isn't used (continue processing more rules after this one).\r\nParameter properties\r\nType: Boolean\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-SubjectContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe SubjectContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or\r\nphrases in the Subject field of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding exception parameter to this condition is ExceptIfSubjectContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 55 of 62\n\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-SubjectOrBodyContainsWords\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe SubjectOrBodyContainsWords parameter specifies a condition for the Inbox rule that looks for the specified\r\nwords or phrases in the Subject field or body of messages.\r\nTo specify multiple words or phrases, use the following syntax: Word1,\"Phrase with spaces\",word2,...wordN .\r\nDon't use leading or trailing spaces.\r\nThe maximum length of this parameter is 255 characters.\r\nThe corresponding exception parameter to this condition is ExceptIfSubjectOrBodyContainsWords.\r\nParameter properties\r\nType: MultiValuedProperty\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 56 of 62\n\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-ValidateOnly\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe ValidateOnly switch specifies whether to evaluate the potential success or failure of the command without\r\nmaking changes. You don't need to specify a value with this switch.\r\nParameter properties\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nFromMessage\r\nPosition: Named\r\nMandatory: True\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-WhatIf\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would\r\noccur without actually applying those changes. You don't need to specify a value with this switch.\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 57 of 62\n\nParameter properties\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nAliases: wi\r\nParameter sets\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-WithImportance\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe WithImportance parameter specifies a condition for the Inbox rule that looks for messages with the specified\r\nimportance level. Valid values are:\r\nHigh\r\nNormal\r\nLow\r\nThe corresponding exception parameter to this condition is ExceptIfWithImportance.\r\nParameter properties\r\nType: Importance\r\nDefault value: None\r\nSupports wildcards: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 58 of 62\n\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-WithinSizeRangeMaximum\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe WithinSizeRangeMaximum parameter specifies part of a condition for the Inbox rule that looks for messages\r\nthat are smaller than specified maximum size.\r\nWhen you enter a value, qualify the value with one of the following units:\r\nB (bytes)\r\nKB (kilobytes)\r\nMB (megabytes)\r\nGB (gigabytes)\r\nTB (terabytes)\r\nUnqualified values are typically treated as bytes, but small values might be rounded up to the nearest kilobyte.\r\nYou need to use this parameter with the WithinSizeRangeMinimum parameter, and the value of this parameter\r\nmust be greater than the value of WithinSizeRangeMinimum.\r\nThe corresponding exception parameter to this condition is ExceptIfWithinSizeRangeMaximum.\r\nParameter properties\r\nType: ByteQuantifiedSize\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 59 of 62\n\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-WithinSizeRangeMinimum\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe WithinSizeRangeMinimum parameter specifies part of a condition for the Inbox rule that looks for messages\r\nthat are larger than the specified minimum size.\r\nWhen you enter a value, qualify the value with one of the following units:\r\nB (bytes)\r\nKB (kilobytes)\r\nMB (megabytes)\r\nGB (gigabytes)\r\nTB (terabytes)\r\nUnqualified values are typically treated as bytes, but small values might be rounded up to the nearest kilobyte.\r\nYou need to use this parameter with the WithinSizeRangeMaximum parameter, and the value of this parameter\r\nmust be less than the value of WithinSizeRangeMaximum.\r\nThe corresponding exception parameter to this condition is ExceptIfWithinSizeRangeMinimum.\r\nParameter properties\r\nType: ByteQuantifiedSize\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 60 of 62\n\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\n-WithSensitivity\r\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe WithSensitivity parameter specifies a condition for the Inbox rule that looks for messages with the specified\r\nsensitivity level. Valid values are:\r\nNormal\r\nPersonal\r\nPrivate\r\nCompanyConfidential\r\nThe corresponding exception parameter to this condition is ExceptIfWithSensitivity.\r\nParameter properties\r\nType: Sensitivity\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\nParameter sets\r\nIdentity\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 61 of 62\n\nValue from remaining arguments: False\r\nCommonParameters\r\nThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -\r\nInformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction,\r\nand -WarningVariable. For more information, see about_CommonParameters.\r\nInputs\r\nInput types\r\nTo see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a\r\ncmdlet is blank, the cmdlet doesn't accept input data.\r\nOutputs\r\nOutput types\r\nTo see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and\r\nOutput Types. If the Output Type field is blank, the cmdlet doesn't return data.\r\nSource: https://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps\r\nPage 62 of 62",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://docs.microsoft.com/en-us/powershell/module/exchange/new-inboxrule?view=exchange-ps"
	],
	"report_names": [
		"new-inboxrule?view=exchange-ps"
	],
	"threat_actors": [],
	"ts_created_at": 1775434238,
	"ts_updated_at": 1775826738,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/d464ff9b1a4cfde16292109b4a397f06a388224b.pdf",
		"text": "https://archive.orkl.eu/d464ff9b1a4cfde16292109b4a397f06a388224b.txt",
		"img": "https://archive.orkl.eu/d464ff9b1a4cfde16292109b4a397f06a388224b.jpg"
	}
}