{
	"id": "678f2e87-002e-482a-a9b8-4c3ca904542c",
	"created_at": "2026-04-06T03:37:44.605483Z",
	"updated_at": "2026-04-10T03:21:24.120197Z",
	"deleted_at": null,
	"sha1_hash": "1eeb3e1c85a0a0f715d189298b70751511c1f355",
	"title": "Get-InboxRule (ExchangePowerShell)",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 73080,
	"plain_text": "Get-InboxRule (ExchangePowerShell)\r\nBy chrisda\r\nArchived: 2026-04-06 03:31:33 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 Get-InboxRule cmdlet to view Inbox rule properties. Inbox rules are used to process messages in the\r\nInbox based on conditions specified and take actions such as moving a message to a specified folder or deleting a\r\nmessage.\r\nFor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.\r\nGet-InboxRule\r\n [[-Identity] \u003cInboxRuleIdParameter\u003e]\r\n [-BypassScopeCheck]\r\n [-DescriptionTimeFormat \u003cString\u003e]\r\n [-DescriptionTimeZone \u003cExTimeZoneValue\u003e]\r\n [-DomainController \u003cFqdn\u003e]\r\n [-IncludeHidden]\r\n [-Mailbox \u003cMailboxIdParameter\u003e]\r\n [-ResultSize \u003cUnlimited\u003e]\r\n [-SkipCount \u003cInt32\u003e]\r\n [-SweepRules]\r\n [-UseCustomRouting]\r\n [\u003cCommonParameters\u003e]\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\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 1 of 8\n\nNote: This cmdlet doesn't work for members of View-Only Organization Management role group in Exchange\r\nOnline or the Global Reader role in Microsoft Entra ID.\r\nGet-InboxRule -Mailbox Joe@Contoso.com\r\nThis example retrieves all Inbox rules for the mailbox Joe@Contoso.com.\r\nGet-InboxRule \"ReceivedLastYear\" -Mailbox joe@contoso.com -DescriptionTimeFormat \"MM/dd/yyyy\" -DescriptionTimeZ\r\nThis example retrieves the Inbox rule ReceivedLastYear from the mailbox joe@contoso.com on which the\r\nReceivedBeforeDate parameter was set when the rule was created. The DescriptionTimeFormat and\r\nDescriptionTimeZone parameters are used in this example to specify formatting of the time and the time zone\r\nused in the rule's Description property.\r\nApplicable: Exchange Server 2016, Exchange Server 2019, Exchange Server SE, Exchange Online\r\nThe BypassScopeCheck switch specifies whether to bypass the scope check for the user that's running the\r\ncommand. You don't need to specify a value with this switch.\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe DescriptionTimeFormat parameter specifies the format for time values in the rule description. For example:\r\nMM/dd/yyyy, where MM is the 2-digit month, dd is the 2-digit day and yyyy is the 4-digit year.\r\nType: String\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 2 of 8\n\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe DescriptionTimeZone parameter specifies time zone that's used for time values in the rule description.\r\nA valid value for this parameter is a supported time zone key name (for example, \"Pacific Standard Time\").\r\nTo see the available values, run the following command: $TimeZone = Get-ChildItem\r\n\"HKLM:\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Time zones\" | foreach {Get-ItemProperty\r\n$_.PSPath}; $TimeZone | sort Display | Format-Table -Auto PSChildname,Display .\r\nIf the value contains spaces, enclose the value in quotation marks (\"). The default value is the time zone setting of\r\nthe Exchange server.\r\nType: ExTimeZoneValue\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 3 of 8\n\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\nType: Fqdn\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\nApplicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server\r\n2019, Exchange Server SE, Exchange Online\r\nThe Identity parameter specifies the Inbox rule that you want to view. You can use any value that uniquely\r\nidentifies the rule. For example:\r\nName\r\nRuleIdentity property (for example, 16752869479666417665).\r\nExchange Online: MailboxAlias\\RuleIdentity (for example, rzaher\\16752869479666417665 ).\r\nOn-premises Exchange: MailboxCanonicalName\\RuleIdentity (for example, contoso.com/Users/Rick\r\nZaher\\16752869479666417665 ).\r\nCaution: The value $null or a non-existent value for the Identity parameter returns all objects as if you ran the\r\nGet- command without the Identity parameter. Verify any lists of values for the Identity parameter are accurate\r\nand don't contain non-existent $null values.\r\nType: InboxRuleIdParameter\r\nDefault value: None\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 4 of 8\n\nSupports wildcards: False\r\nDontShow: False\r\n(All)\r\nPosition: 1\r\nMandatory: False\r\nValue from pipeline: True\r\nValue from pipeline by property name: True\r\nValue from remaining arguments: False\r\nApplicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Server\r\nSE, Exchange Online\r\nThe IncludeHidden switch specifies whether to include hidden Inbox rules in the results. You don't need to specify\r\na value with this switch.\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\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\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 5 of 8\n\nCanonical DN\r\nDomain\\Username\r\nEmail address\r\nGUID\r\nLegacyExchangeDN\r\nSamAccountName\r\nUser ID or user principal name (UPN)\r\nType: MailboxIdParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\nApplicable: Exchange Online, Built-in security add-on for on-premises mailboxes\r\nThis parameter is available only in the cloud-based service.\r\nThe ResultSize parameter specifies the maximum number of results to return. If you want to return all requests\r\nthat match the query, use unlimited for the value of this parameter. The default value is 1000.\r\nType: Unlimited\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nValue from pipeline: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 6 of 8\n\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\nApplicable: Exchange Online\r\nThis parameter is available only in the cloud-based service.\r\n{{ Fill SkipCount Description }}\r\nType: Int32\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\nApplicable: Exchange Server 2016, Exchange Server 2019, Exchange Server SE\r\nThis parameter is available only in on-premises Exchange.\r\nThe SweepRules switch specifies whether to return only Sweep rules in the results. You don't need to specify a\r\nvalue with this switch.\r\nSweep rules run at regular intervals to help keep your Inbox clean.\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\r\n(All)\r\nPosition: Named\r\nMandatory: False\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 7 of 8\n\nValue from pipeline: False\r\nValue from pipeline by property name: False\r\nValue from remaining arguments: False\r\nApplicable: Exchange Online\r\nThis parameter is available only in the cloud-based service.\r\n{{ Fill UseCustomRouting Description }}\r\nType: SwitchParameter\r\nDefault value: None\r\nSupports wildcards: False\r\nDontShow: False\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\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\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\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/get-inboxrule?view=exchange-ps\r\nhttps://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps\r\nPage 8 of 8",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"references": [
		"https://docs.microsoft.com/en-us/powershell/module/exchange/get-inboxrule?view=exchange-ps"
	],
	"report_names": [
		"get-inboxrule?view=exchange-ps"
	],
	"threat_actors": [],
	"ts_created_at": 1775446664,
	"ts_updated_at": 1775791284,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/1eeb3e1c85a0a0f715d189298b70751511c1f355.pdf",
		"text": "https://archive.orkl.eu/1eeb3e1c85a0a0f715d189298b70751511c1f355.txt",
		"img": "https://archive.orkl.eu/1eeb3e1c85a0a0f715d189298b70751511c1f355.jpg"
	}
}