You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/docs-conceptual/exchange-server/recipient-filters/filter-properties.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -251,7 +251,7 @@ The properties that have been _confirmed_ to work with the _Filter_ parameter in
251
251
|_ResourceType_|n/a|**Get-Mailbox** <br/> **Get-Recipient**|`Room` (0), `Equipment` (1), or `$null`|For example, `Get-Mailbox -Filter {ResourceType -eq 'Equipment'}`|
252
252
|_RetainDeletedItemsFor_|_garbageCollPeriod_|**Get-Mailbox** <br/> **Get-MailUser** <br/> **Get-RemoteMailbox**|A time span value: _dd.hh:mm:ss_ where _dd_ = days, _hh_ = hours, _mm_ = minutes, and _ss_ = seconds.|You can't use the _Filter_ parameter to look for time span values for this property. Instead, use this syntax: Get-Mailbox \| where {$_.RetainDeletedItemsFor -<Operator> '<TimeSpan>'}. For example, Get-Mailbox \| where {$_.RetainDeletedItemsFor -gt '14.00:00:00'}.|
253
253
|_RetentionComment_|_msExchRetentionComment_|**Get-Mailbox** <br/> **Get-MailUser** <br/> **Get-RemoteMailbox**|String (wildcards accepted) or `$null`|For example, `Get-Mailbox -Filter {RetentionComment -like '*7 years*'}`|
254
-
|_RetentionPolicy_|n/a|**Get-Mailbox** <br/> **Get-Recipient**|String or `$null`|This filter requires the distinguished name of the retention policy. For example, `Get-Mailbox -Filter {RetentionPolicy -eq 'CN=Default MRM Policy,CN=Retention Policies Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'}`. <br/> To find the distinguished names of retention policies, run this command: Get-RetetionPolicy\| Format-List Name,DistinguishedName.|
254
+
|_RetentionPolicy_|n/a|**Get-Mailbox** <br/> **Get-Recipient**|String or `$null`|This filter requires the distinguished name of the retention policy. For example, `Get-Mailbox -Filter {RetentionPolicy -eq 'CN=Default MRM Policy,CN=Retention Policies Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'}`. <br/> To find the distinguished names of retention policies, run this command: Get-RetentionPolicy\| Format-List Name,DistinguishedName.|
255
255
|_RetentionUrl_|_msExchRetentionURL_|**Get-Mailbox** <br/> **Get-MailUser** <br/> **Get-RemoteMailbox**|String (wildcards accepted) or `$null`|For example, `Get-Mailbox -Filter {RetentionUrl -like 'https://intranet.contoso.com/*'}`|
256
256
|_RoleAssignmentPolicy_|_msExchRBACPolicyLink_|**Get-Mailbox**|String (wildcards accepted) or `$null`|This filter requires the distinguished name of the role assignment policy in Office 365. For example, `Get-Mailbox -Filter {RoleAssignmentPolicy -eq 'CN=Default Role Assignment Policy,CN=Policies,CN=RBAC,CN=Configuration,CN=contoso.onmicrosoft.com,CN=ConfigurationUnits,DC=NAMPR10A001,DC=PROD,DC=OUTLOOK,DC=COM'}`. <br/> To find the distinguished names of role assignment policies in Office 365, run this command: Get-RoleAssignmentPolicy \| Format-List Name,DistinguishedName.|
257
257
|_RulesQuota_|_msExchMDBRulesQuota_|**Get-Mailbox**|A byte quantified size value (for example, `50B` or `128KB`). Unqualified values are treated as bytes.|You can't use the _Filter_ parameter to look for size values of this property. Instead, use this syntax: Get-Mailbox \| where {$_.RulesQuota -<Operator> '<Size>'}. For example, Get-Mailbox \| where {$_.RulesQuota -lt '256KB'}.|
0 commit comments