Exchange Cmdlet 上 Filter 參數的可篩選屬性

您可以使用 Filter 參數,根據 Exchange 管理命令介面 (Exchange Server PowerShell) 和 Exchange Online PowerShell 中使用者和群組對象的屬性來建立 OPATH 篩選。 Filter 參數可在這些收件者 Cmdlet 上使用:

如需 Exchange PowerShell 中收件者篩選器的詳細資訊,請參閱 Exchange PowerShell 命令中的收件者篩選。

注意事項

Filter 參數也 適用於其他 Cmdlet (例如 Get-MailboxStatisticsGet-QueueGet-Message) 。 不過,這些 Cmdlet 上的 Filter 參數所接受的屬性值,與本文所述的使用者和群組屬性並不類似。

本文將說明已 確認 要與使用者和群組 Cmdlet 中的 Filter 參數搭配運作的屬性。

附註

  • 此清單可能包括:

    • 僅用於一種環境類型的屬性:Microsoft 365、內部部署 Exchange 或混合式。 屬性可能存在於所有環境中的收件者物件上,但該值對於 (空白以外的值或 None 只在一種環境中) 值而言是有意義的。
    • 存在但對應至不再使用之功能的屬性。
  • 並非所有收件者屬性都有對應的 Active Directory 屬性。 這些屬性的LDAP顯示名稱值為 「n/a」,表示屬性的計算 (可能是 Exchange) 。

  • 以雙引號 「括住整個 OPATH 篩選條件」。 如果篩選條件包含系統值 (例如 $true$false$null),請改為使用單引號 ' '。 雖然 Filter 參數是字串 (不是系統區塊) ,但您也可以使用大括號 { },但前提是篩選不包含變數。 如需詳細資訊,請 參閱其他 OPATH 語法資訊

  • 接受通配符的文字字串屬性需要 -like 運算子 (例如, "Property -like 'abc*'") 。

  • 若要尋找空白或非空白的屬性值,請使用 $null (值,例如 或 'Property -eq $null''Property -ne $null') 。

  • 如需 Exchange Online PowerShell 模組中九個獨佔 Get-EXO* Cmdlet 的篩選考慮,請參閱 Exchange Online PowerShell 模組中的篩選

AcceptMessagesOnlyFrom

LDAP 顯示名稱 可在 Cmdlet 上使用
authOrig Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

此篩選器需要個別收件者的辨別名稱, (信箱、郵件使用者或郵件聯繫人) 。 例如,Get-DistributionGroup -Filter "AcceptMessagesOnlyFrom -eq 'CN=Yuudai Uchida,CN=Users,DC=contoso,DC=com'"Get-DistributionGroup -Filter "AcceptMessagesOnlyFrom -eq 'contoso.com/Users/Angela Gruber'"

若要尋找個別收件者的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

AcceptMessagesOnlyFromDLMembers

LDAP 顯示名稱 可在 Cmdlet 上使用
dLMemSubmitPerms Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

此篩選器需要群組的辨別名稱或標準辨別名稱, (通訊群組、擁有郵件功能的安全組或動態通訊群組) 。 例如,Get-Mailbox -Filter "AcceptMessagesOnlyFromDLMembers -eq 'CN=Marketing Department,CN=Users,DC=contoso,DC=com'"。 或 Get-Mailbox -Filter "AcceptMessagesOnlyFromDLMembers -eq 'contoso.com/Users/Marketing Department'"

若要尋找群組的辨別名稱,請將 GroupIdentity> 取代<為群組的名稱、別名或電子郵件地址,然後執行下列其中一個命令:或 Get-DynamicDistributionGroup -Identity "<GroupIdentity>" | Format-List Name,DistinguishedNameGet-DistributionGroup -Identity "<GroupIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

ActiveSyncAllowedDeviceIDs

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMobileAllowedDeviceIds Get-CASMailbox 接受) 或的字串 (通配符 $null

裝置標識碼是可唯一識別裝置的文字字串。 使用 Get-MobileDevice Cmdlet 來查看與信箱有 ActiveSync 合作關係的裝置。 若要查看信箱上的裝置標識碼,請將MailboxIdentity>取代<為信箱的名稱、別名或電子郵件地址,然後執行下列命令:Get-MobileDevice -Mailbox <MailboxIdentity> | Format-List

擁有裝置識別碼值之後,您可以在篩選中使用它。 例如,Get-CasMailbox -Filter "(ActiveSyncAllowedDeviceIDs -like 'text1*') -or (ActiveSyncAllowedDeviceIDs -eq 'text2'"

ActiveSyncBlockedDeviceIDs

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMobileBlockedDeviceIds Get-CASMailbox 接受) 或的字串 (通配符 $null

裝置標識碼是可唯一識別裝置的文字字串。 使用 Get-MobileDevice Cmdlet 來查看與信箱有 ActiveSync 合作關係的裝置。 若要查看信箱上的裝置標識碼,請將MailboxIdentity>取代<為信箱的名稱、別名或電子郵件地址,然後執行下列命令:Get-MobileDevice -Mailbox <MailboxIdentity> | Format-List

擁有裝置識別碼值之後,您可以在篩選中使用它。 例如,Get-CasMailbox -Filter "(ActiveSyncBlockedDeviceIDs -like 'text1*') -or (ActiveSyncBlockedDeviceIDs -eq 'text2'"

ActiveSyncEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

例如,Get-CasMailbox -Filter 'ActiveSyncEnable -eq $false'

ActiveSyncMailboxPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMobileMailboxPolicyLink Get-CASMailbox
Get-Recipient
字串或 $null

此篩選需要 ActiveSync 信箱原則的辨別名稱。 例如,Get-CASMailbox -Filter "ActiveSyncMailboxPolicy -eq 'CN=Default,CN=Mobile Mailbox Policies,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找 ActiveSync 信箱原則的辨別名稱: Get-MobileDeviceMailboxPolicy | Format-List Name,DistinguishedName

注意事項

針對預設 ActiveSync 信箱原則的預設指派, (名為 Default) 至信箱, 則 ActiveSyncMailboxPolicy 屬性的值 () $null 空白。

ActiveSyncSuppressReadReceipt

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

例如,Get-CasMailbox -Filter 'ActiveSyncSuppressReadReceipt -eq $true'

AddressBookPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchAddressBookPolicyLink Get-Mailbox
Get-Recipient
字串或 $null

此篩選需要通訊簿原則的辨別名稱。 例如,Get-Mailbox -Filter "AddressBookPolicy -eq 'CN=Contoso ABP,CN=AddressBook Mailbox Policies,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找通訊簿原則的辨別名稱: Get-AddressBookPolicy | Format-List Name,DistinguishedName

AddressListMembership

LDAP 顯示名稱 可在 Cmdlet 上使用
showInAddressBook Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

此篩選需要位址清單的辨別名稱。 例如,Get-MailContact -Filter "AddressListMembership -eq 'CN=All Contacts,CN=All Address Lists,CN=Address Lists Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找通訊清單的辨別名稱: Get-AddressList | Format-List Name,DistinguishedName

AdminDisplayName

LDAP 顯示名稱 可在 Cmdlet 上使用
adminDisplayName Get-SecurityPrincipal 接受) 或的字串 (通配符 $null

例如,Get-SecurityPrincipal -Filter 'AdminDisplayName -ne $null' | Format-Table -Auto Name,AdminDisplayName

AdministrativeUnits

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchAdministrativeUnitLink Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-User
Get-UnifiedGroup
$null

例如,Get-User -Filter 'AdministrativeUnits -ne $null'

AggregatedMailboxGuids

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchAlternateMailboxes Get-Mailbox
Get-MailUser
Get-RemoteMailbox
字串或 $null

例如,Get-Mailbox -Filter 'AggregatedMailboxGuids -ne $null'

別名

LDAP 顯示名稱 可在 Cmdlet 上使用
mailNickname Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
接受的字串 (通配符)

例如,Get-Recipient -Filter "Alias -like 'smith*'"

AllowUMCallsFromNonUsers

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMListInDirectorySearch Get-Contact
Get-LinkedUser
Get-UMMailbox
Get-User
None (0) 或 SearchEnabled (1)

例如,Get-User -Filter "AllowUMCallsFromNonUsers -ne 'SearchEnabled'"

ArbitrationMailbox

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArbitrationMailbox Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
字串或 $null

此篩選需要仲裁信箱的辨別名稱。 例如,Get-DistributionGroup -Filter "ArbitrationMailbox -eq 'CN=SystemMailbox"1f05a927-2e8f-4cbb-9039-2cfb8b95e486",CN=Users,DC=contoso,DC=com'"

您可以執行下列命令來尋找仲裁信箱的辨別名稱: Get-Mailbox -Arbitration | Format-List Name,DistinguishedName

ArchiveDatabase

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveDatabaseLink Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
字串或 $null

此篩選需要封存信箱資料庫的辨別名稱。 例如,Get-Mailbox -Filter "ArchiveMailbox -eq 'CN=MBX DB02,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找信箱資料庫的辨別名稱: Get-MailboxDatabase | Format-List Name,DistinguishedName

ArchiveDomain

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveAddress Get-Mailbox 接受) 或的字串 (通配符 $null

此屬性用於內部部署 Exchange 環境中,以識別 Exchange Online 保存封存信箱的組織。 例如,Get-Mailbox -Filter "ArchiveDomain -like 'contoso.onmicrosoft.com*'"

ArchiveGuid

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveGUID Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
字串或 $null

此篩選需要封存信箱的 GUID。 例如,Get-Mailbox -Filter "ArchiveMailbox -eq '6476f55e-e5eb-4462-a095-f2cb585d648d'"

您可以執行下列命令來尋找封存信箱的 GUID: Get-Mailbox -Archive | Format-Table -Auto Name,ArchiveGUID

ArchiveName

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveName Get-Mailbox
Get-MailUser
Get-RemoteMailbox
接受) 或的字串 (通配符 $null

此篩選器需要封存信箱的名稱。 例如,Get-Mailbox -Filter "ArchiveName -like 'In-Place Archive*'"

您可以執行下列命令來尋找封存信箱的名稱: Get-Mailbox -Archive | Format-Table -Auto Name,ArchiveName

ArchiveQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveQuota Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "ArchiveQuota -eq 'Unlimited'"Get-Mailbox -Filter "ArchiveQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.ArchiveQuota -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.ArchiveQuota -gt '85GB'"

ArchiveRelease

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveRelease Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-User
NoneE14E15$null

例如,Get-Recipient -Filter 'ArchiveRelease -ne $null'

ArchiveState

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-Recipient
Get-RemoteMailbox
None (0) 、 Local (1) 、 HostedProvisioned (2) 、 HostedPending (3) 或 OnPremise (4) 。

例如,Get-Recipient -Filter "ArchiveState -eq 'HostedProvisioned'"

ArchiveStatus

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveStatus Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
None (0) 或 Active (1) 。

例如,Get-Recipient -Filter "ArchiveStatus -eq 'Active'"

ArchiveWarningQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchArchiveWarnQuota Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "ArchiveWarningQuota -eq 'Unlimited'"Get-Mailbox -Filter "ArchiveWarningQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.ArchiveWarningQuota -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.ArchiveWarningQuota -gt '85GB'"

AssistantName

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchAssistantName Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "AssistantName -like 'Julia*'"

AuditEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxAuditEnable Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'AuditEnabled -eq $true'

AuditLogAgeLimit

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxAuditLogAgeLimit Get-Mailbox
Get-UnifiedGroup
時間範圍值: dd.hh:mm:ss ,其中 dd = days、 hh = hours、 mm = minutes 和 ss = seconds。

您無法使用 Filter 參數來尋找這個屬性的時間範圍值。 請改用此語法: Get-Mailbox | where "$_.AuditLogAgeLimit -<Operator> '<TimeSpan>'"。 例如,Get-Mailbox | where "$_.AuditLogAgeLimit -gt '60.00:00:00'"

AuthenticationPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchAuthPolicyLink Get-User 接受) 或的字串 (通配符 $null

例如,Get-User -Filter "AuthenticationPolicy -eq 'CN=Block Basic Auth,CN=Auth Policies,CN=Configuration,CN=contoso.onmicrosoft.com,CN=ConfigurationUnits,DC=NAMPR11B009,DC=PROD,DC=OUTLOOK,DC=COM'"

BlockedSendersHash

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchBlockedSendersHash Get-Recipient 空白 ( $null) 或哈希值。

實際上,您只能使用此值來篩選空白或非空白值。 例如,Get-Recipient -Filter 'BlockedSendersHash -ne $null'.

c

LDAP 顯示名稱 可在 Cmdlet 上使用
C Get-Contact
Get-LinkedUser
Get-Recipient
Get-SecurityPrincipal
Get-User
接受) 或的字串 (通配符 $null

此篩選器需要使用者的 ISO 3166-1 兩個字母國家/地區代碼 (例如,US美國) 。 此屬性會與 cocountryCode 屬性一起使用,以在 Active Directory 中定義使用者的國家/地區。

例如,Get-User -Filter "c -eq 'US'"

CalendarLoggingQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchCalendarLoggingQuota Get-Mailbox 位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "CalendarLoggingQuota -eq 'Unlimited'"Get-Mailbox -Filter "CalendarLoggingQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.CalendarLoggingQuota -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.CalendarLoggingQuota -gt '10GB'"

CalendarRepairDisabled

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchCalendarRepairDisabled Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'CalendarRepairDisabled -eq $true'

CertificateSubject

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-User
字串或 $null

針對使用者帳戶發佈的 X509 憑證 (顯示在 Active Directory 使用者和電腦) 的 [已發行憑證] 索引標籤上。

例如, Get-User -Filter "CertificateSubject -eq 'X509:<I>C=US,O=InternetCA,CN=APublicCertificateAuthority<S>C=US,O=Fabrikam,OU=Sales,CN=Jeff Smith『)

城市

LDAP 顯示名稱 可在 Cmdlet 上使用
Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "City -eq 'Redmond'"

Company

LDAP 顯示名稱 可在 Cmdlet 上使用
公司 Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Company -like 'Contoso*'"

ComplianceTagHoldApplied

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-MailUser
布爾 ($true$false)

例如,Get-Mailbox -Filter 'ComplianceTagHoldApplied -eq $true'

ConsumerNetID

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-User
字串或 $null

例如,Get-User -Filter 'ConsumerNetID -ne $null'

CountryCode

LDAP 顯示名稱 可在 Cmdlet 上使用
countryCode Get-Contact
Get-LinkedUser
Get-Recipient
Get-SecurityPrincipal
Get-User
整數

此篩選器需要使用者的 ISO 3166-1 三位數國家/地區代碼 (例如,840美國) 。 這個屬性會與 cco 屬性一 起使用,以在 Active Directory 中定義使用者的國家 /地區。

例如,Get-User -Filter "countryCode -eq 796"

CountryOrRegion

LDAP 顯示名稱 可在 Cmdlet 上使用
co Get-Contact
Get-LinkedUser
Get-Recipient
Get-SecurityPrincipal
Get-User
String

此篩選器需要使用者的 ISO 3166-1 國家/地區名稱 (例如, United States) 。 您可以在 [Active Directory 使用者和電腦 ( 位址] 索引標籤> [國家/地區] 字段) 中選取可用的值,或選取 Exchange 系統管理中心 (使用者屬性 >[連絡人資訊] 索引標籤 > [國家/地區] 字段) 。

當您在 Active Directory 使用者和電腦 或 EAC 中選取使用者的國家/地區時,會自動設定 cocountryCode 屬性的對應值。

例如,Get-User -Filter "CountryOrRegion -like 'United*'"

CustomAttribute1 到 CustomAttribute15

LDAP 顯示名稱 可在 Cmdlet 上使用
extensionAttribute1extensionAttribute15 Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "CustomAttribute8 -like 'audited*'"

Database

LDAP 顯示名稱 可在 Cmdlet 上使用
homeMDB Get-Mailbox
Get-Recipient
String

此篩選需要信箱資料庫的辨別名稱。 例如,Get-Mailbox -Filter "Database -eq 'CN=MBX DB02,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找信箱資料庫的辨別名稱: Get-MailboxDatabase | Format-List Name,DistinguishedName

DefaultPublicFolderMailbox

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchPublicFolderMailbox Get-Mailbox 字串或 $null

此篩選器需要公用資料夾信箱的辨別名稱或標準辨別名稱。 例如,Get-Mailbox -Filter "DefaultPublicFolderMailbox -eq 'CN=PF Mailbox01,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "DefaultPublicFolderMailbox -eq 'contoso.com/Users/PF Mailbox01'"

若要尋找公用資料夾信箱的辨別名稱,請執行下列命令: Get-Mailbox -PublicFolder | Format-List Name,DistinguishedName

DeletedItemFlags

LDAP 顯示名稱 可在 Cmdlet 上使用
deletedItemFlags Get-Mailbox
Get-SecurityPrincipal
DatabaseDefault (0) 、 RetainUntilBackupOrCustomPeriod (3) 或 RetainForCustomPeriod (5) 。

例如,Get-Mailbox -Filter "DeletedItemFlags -ne 'DatabaseDefault'"

DeliverToMailboxAndForward

LDAP 顯示名稱 可在 Cmdlet 上使用
deliverAndRedirect Get-Mailbox
Get-MailPublicFolder
Get-MailUser
Get-MailPublicFolder
布爾 ($true$false)

例如,Get-Mailbox -Filter 'DeliverToMailboxAndForward -eq $true'

部門

LDAP 顯示名稱 可在 Cmdlet 上使用
部門 Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "Department -like 'Engineering*'"

DirectReports

LDAP 顯示名稱 可在 Cmdlet 上使用
directReports Get-Contact
Get-LinkedUser
Get-User
字串或 $null

此篩選器需要直接報表的辨別名稱或標準辨別名稱。 例如,Get-User -Filter "DirectReports -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-User -Filter "DirectReports -eq 'contoso.com/Users/Angela Gruber'"

若要尋找直接報表的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

DisabledArchiveDatabase

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchDisabledArchiveDatabaseLink Get-Mailbox
Get-MailUser
Get-RemoteMailbox
字串或 $null

此篩選器需要已停用封存信箱資料庫的辨別名稱。 例如,Get-Mailbox -Filter "DisabledArchiveDatabase -eq 'CN=MBX DB02,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找信箱資料庫的辨別名稱: Get-MailboxDatabase | Format-List Name,DistinguishedName

DisabledArchiveGuid

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchDisabledArchiveDatabaseGUID Get-Mailbox
Get-MailUser
Get-RemoteMailbox
字串或 $null

此篩選器需要已停用封存信箱的 GUID。 例如,Get-Mailbox -Filter "DisabledArchiveGuid -eq '6476f55e-e5eb-4462-a095-f2cb585d648d'"

您可以執行下列命令來尋找封存信箱的 GUID: Get-Mailbox -Archive | Format-Table -Auto Name,ArchiveGUID

DisplayName

LDAP 顯示名稱 可在 Cmdlet 上使用
displayName Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
接受的字串 (通配符)

例如,Get-Recipient -Filter "DisplayName -like 'Julia*'"

DistinguishedName

LDAP 顯示名稱 可在 Cmdlet 上使用
distinguishedName Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMMailbox
Get-User
Get-UnifiedGroup
String

此篩選需要收件者的辨別名稱。 例如,Get-Mailbox -Filter "DistinguishedName -eq 'CN=Basho Kato,CN=Users,DC=contoso,DC=com'"

您可以執行下列命令來尋找收件者的辨別名稱: Get-Recipient | Format-List Name,RecipientType,DistinguishedName

EcpEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

例如,Get-CASMailbox -Filter 'EcpEnabled -eq $false'

EmailAddresses

LDAP 顯示名稱 可在 Cmdlet 上使用
proxyAddresses Get-CASMailbox
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UMMailbox
Get-UnifiedGroup
接受的字串 (通配符)

例如,Get-Recipient -Filter "EmailAddresses -like 'marketing*'"

當您使用完整的電子郵件位址時,您不需要考慮 smtp: 前置詞。 如果您使用通配符,則會這麼做。 例如,如果 "EmailAddresses -eq 'lila@fabrikam.com'" 傳回相符專案, "EmailAddresses -like 'lila*'" 則 不會傳回相符專案,但 或 "EmailAddresses -like 'smtp:lila*'" 會傳回相符專案。

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

EmailAddressPolicyEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-Recipient -Filter 'EmailAddressPolicyEnabled -eq $false'

EntryId

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchPublicFolderEntryId Get-MailPublicFolder 接受的字串 (通配符)

例如,Get-MailPublicFolder -Filter "EntryId -like '60000*'"

您可以執行下列命令來尋找啟用郵件功能之公用資料夾的項目識別碼: Get-MailPublicFolder | Format-List Name,EntryId

EwsApplicationAccessPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchEwsApplicationAccessPolicy Get-CASMailbox EnforceAllowList, EnforceBlockList. 或 $null

例如,Get-CASMailbox -Filter 'EwsApplicationAccessPolicy -ne $null'

EwsEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchEwsEnabled Get-CASMailbox ) 停用 0 (,) 或 $null啟用 1 (。

例如,Get-CASMailbox -Filter "EwsEnabled -eq 1"

ExchangeGuid

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxGuid Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
String

例如,Get-Mailbox -Filter "ExchangeGuid -eq 'c80a753d-bd4a-4e19-804a-6344d833ecd8'"

若要尋找收件者的 Exchange GUID,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,ExchangeGuid

請注意,物件的 Exchange GUID 值與其 GUID 值不同。 此外,非信箱的 Exchange GUID 值 (郵件連絡人、郵件使用者、通訊群組、動態通訊群組、啟用郵件功能的安全組,以及啟用郵件功能的公用資料夾) 為 00000000-0000-0000-0000-000000000000

ExchangeUserAccountControl

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUserAccountControl Get-Mailbox
Get-MailUser
Get-RemoteMailbox
None (0) 或 AccountDisabled (2)

例如,Get-Mailbox -Filter "ExchangeUserAccountControl -eq 'AccountDisabled'"

ExchangeVersion

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchVersion Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMMailbox
Get-User
整數

此屬性包含可用來管理收件者的最早 Exchange 版本。 您看到的屬性值與您需要在篩選中使用的值不同。 若要查看 ExchangeVersion 屬性值,請執行下列命令: Get-Recipient | Format-Table Name,RecipientType,ExchangeVersion

針對 Exchange 2010 值 0.10 (14.0.100.0),請使用篩選中44220983382016值。

針對 Exchange 2013 或 Exchange 2016 值 0.20 (15.0.0.0),請使用篩選中88218628259840值。

例如,Get-Recipient -Filter "ExchangeVersion -lt 88218628259840"

ExpansionServer

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchExpansionServerName Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Recipient
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "ExpansionServer -like 'Mailbox01*'"

若要完全相符,您必須使用伺服器的 ExchangeLegacyDN 值。 例如,Get-Recipient -Filter "ExpansionServer -eq '/o=Contoso Corporation/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Mailbox01'"

您可以執行下列命令來尋找 ExchangeLegacyDN 值: Get-ExchangeServer | Format-List Name,ExchangeLegacyDN

ExtensionCustomAttribute1 至 ExtensionCustomAttribute5

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchExtensionCustomAttribute1msExchExtensionCustomAttribute5 Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "ExtensionCustomAttribute8 -like 'audited*'"

ExternalDirectoryObjectId

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchExternalDirectoryObjectId Get-DistributionGroup
Get-DynamicDistributionGroup
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-User
Get-UnifiedGroup
字串或 $null

例如,Get-Recipient -Filter 'ExternalDirectoryObjectId -ne $null'

ExternalEmailAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
targetAddress Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "ExternalEmailAddress -like '@fabrikam.com*'"

當您使用完整的電子郵件位址時,您不需要考慮 smtp: 前置詞。 如果您使用通配符,則會這麼做。 例如,如果 "ExternalEmailAddress -eq 'lila@fabrikam.com'" 傳回相符專案, "ExternalEmailAddress -like 'lila*'" 則 不會傳回相符專案,但 "ExternalEmailAddress -like 'smtp:lila*'" 會傳回相符專案。

ExternalOofOptions

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchExternalOOFOptions Get-Mailbox External (0) 或 InternalOnly (1)

例如,Get-Mailbox -Filter "ExternalOofOptions -eq 'External'"

傳真

LDAP 顯示名稱 可在 Cmdlet 上使用
facsimileTelephoneNumber Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Fax -like '206*'"

FirstName

LDAP 顯示名稱 可在 Cmdlet 上使用
givenName Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "FirstName -like 'Chris*'"

ForwardingAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
altRecipient Get-Mailbox
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
字串或 $null

此篩選器需要轉寄收件者的辨別名稱或標準辨別名稱。 例如,Get-Mailbox -Filter "ForwardingAddress -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "ForwardingAddress -eq 'contoso.com/Users/Angela Gruber'"

若要尋找轉寄收件者的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

ForwardingSmtpAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchGenericForwardingAddress Get-Mailbox 接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter "ForwardingSmtpAddress -like '@fabrikam.com*'"

當您使用完整的電子郵件位址時,您不需要考慮 smtp: 前置詞。 如果您使用通配符,則會這麼做。 例如,如果 "ForwardingSmtpAddress -eq 'lila@fabrikam.com'" 傳回相符專案, "ForwardingSmtpAddress -like 'lila*'" 則 不會傳回相符專案,但 "ForwardingSmtpAddress -like 'smtp:lila*'" 會傳回相符專案。

GeneratedOfflineAddressBooks

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchOABGeneratingMailboxBL Get-Mailbox 字串或 $null

此屬性只有在仲裁信箱上才有意義,因此您必須在篩選命令中使用 [仲裁 ] 參數。 此外,此篩選器需要離線通訊錄的辨別名稱。 例如,Get-Mailbox -Arbitration -Filter "GeneratedOfflineAddressBooks -eq 'CN=OAB 1,CN=Offline Address Lists,CN=Address Lists Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找離線通訊錄的辨別名稱: Get-OfflineAddressBook | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

GrantSendOnBehalfTo

LDAP 顯示名稱 可在 Cmdlet 上使用
publicDelegates Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

此篩選器需要信箱、郵件用戶或擁有郵件功能的安全組) (啟用郵件之安全性主體的辨別名稱或標準辨別名稱。 例如,Get-Mailbox -Filter "GrantSendOnBehalfTo -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "GrantSendOnBehalfTo -eq 'contoso.com/Users/Angela Gruber'"

若要尋找啟用郵件之安全性主體的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

GroupMemberCount

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-UnifiedGroup 整數

例如,Get-UnifiedGroup -Filter "GroupMemberCount -gt 100"

GroupExternalMemberCount

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-UnifiedGroup 整數

例如,Get-UnifiedGroup -Filter "GroupExternalMemberCount -gt 0"

GroupType

LDAP 顯示名稱 可在 Cmdlet 上使用
groupType Get-DistributionGroup
Get-Group
Get-UnifiedGroup
None (0) 、 Global (2) 、 DomainLocal (4) 、 BuiltinLocal (5) 、 Universal (8) 或 SecurityEnabled (-2147483648) 。

通訊群組的值 Universal為 ,且擁有郵件功能的安全組具有 值 Universal, SecurityEnabled。 您可以指定多個以逗號分隔的值,而順序並不重要。 例如, 會 Get-DistributionGroup -Filter "GroupType -eq 'Universal,SecurityEnabled'" 傳回與 Get-DistributionGroup -Filter "GroupType -eq 'SecurityEnabled,Universal'"相同的結果。

只有在屬性 等於 指定的值時,這個多重值屬性才會傳回相符專案。

Guid

LDAP 顯示名稱 可在 Cmdlet 上使用
objectGuid Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMMailbox
Get-User
Get-UnifiedGroup
String

例如,Get-Recipient -Filter "Guid -eq '8a68c198-be28-4a30-83e9-bffb760c65ba'"

您可以執行下列命令來尋找收件者的 GUID: Get-Recipient | Format-List Name,RecipientType,Guid

請注意,物件的 GUID 值與其 Exchange GUID 值不同。

HasActiveSyncDevicePartnership

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox
Get-Recipient
布爾 ($true$false)

例如,Get-Recipient -Filter 'HasActiveSyncDevicePartnership -eq $true'

HiddenFromAddressListsEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchHideFromAddressLists Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-Recipient -Filter 'HiddenFromAddressListsEnabled -eq $true'

HiddenGroupMembershipEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
hideDLMembership Get-UnifiedGroup 布爾 ($true$false)

例如,Get-UnifiedGroup -Filter 'HiddenGroupMembershipEnabled -eq $true'

HomePhone

LDAP 顯示名稱 可在 Cmdlet 上使用
homePhone Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "HomePhone -like '206*'"

Id

LDAP 顯示名稱 可在 Cmdlet 上使用
distinguishedName Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UMMMailbox
Get-User
Get-SecurityPrincipal
Get-UnifiedGroup
String

此篩選器需要收件者的辨別名稱或標準辨別名稱。 例如,Get-Mailbox -Filter "Id -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "Id -eq 'contoso.com/Users/Angela Gruber'"

若要尋找收件者的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-MailPublicFolder 布爾 ($true$false)

例如,Get-MailPublicFolder -Filter 'IgnoreMissingFolderLink -eq $true'

ImapEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

例如,Get-CASMailbox -Filter 'ImapEnabled -eq $false'

ImmutableId

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchGenericImmutableId Get-Mailbox
Get-MailUser
Get-RemoteMailbox
字串或 $null

例如,Get-Mailbox -Filter 'ImmutableId -ne $null'

IncludeInGarbageCollection

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IncludeInGarbageCollection -eq $true'

縮寫

LDAP 顯示名稱 可在 Cmdlet 上使用
縮寫 Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Initials -like 'B.'"

InPlaceHolds

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUserHoldPolicies Get-Mailbox
Get-MailUser
Get-RemoteMailbox
String

此篩選需要信箱搜尋的 InPlaceHoldIdentity 值。 例如,Get-Mailbox -Filter "InPlaceHolds -eq '9d0f81154cc64c6b923ecc0be5ced0d7'"

若要尋找信箱搜尋的 InPlaceHoldIdentity 值,請執行下列命令: Get-MailboxSearch | Format-Table Name,InPlaceHoldIdentity

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

InPlaceHoldsRaw

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-User
String

此篩選需要信箱搜尋的 InPlaceHoldIdentity 值。 例如,Get-Mailbox -Filter "InPlaceHoldsRaw -eq '9d0f81154cc64c6b923ecc0be5ced0d7'"

若要尋找信箱搜尋的 InPlaceHoldIdentity 值,請執行下列命令: Get-MailboxSearch | Format-Table Name,InPlaceHoldIdentity

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

IsDirSynced

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchIsMSODirsynced Get-Contact
Get-DistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-User
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-User -Filter 'IsDirSynced -eq $true'

IsExcludedFromServingHierarchy

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsExcludedFromServingHierarchy -eq $true'

IsHierarchyReady

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsHierarchyReady -eq $false'

IsHierarchySyncEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsHierarchySyncEnabled -eq $false'

IsInactiveMailbox

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsInactiveMailbox -eq $false'

IsLinked

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-Mailbox
Get-User
布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsLinked -eq $true'

IsMailboxEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsMailboxEnabled -eq $false'

IsResource

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsResource -eq $true'

IsSecurityPrincipal

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-User
布爾 ($true$false)

例如,Get-User -Filter 'IsSecurityPrincipal -eq $false'

IsShared

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsShared -eq $true'

IsSoftDeletedByDisable

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-RemoteMailbox
Get-User
布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsSoftDeletedByDisable -eq $true'

IsSoftDeletedByRemove

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-RemoteMailbox
Get-User
布爾 ($true$false)

例如,Get-Mailbox -Filter 'IsSoftDeletedByRemove -eq $true'

IssueWarningQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
mDBStorageQuota Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "IssueWarningQuota -eq 'Unlimited'"Get-Mailbox -Filter "IssueWarningQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法:“ Get-Mailbox | where "$_.IssueWarningQuota -<Operator> '<Size>'。 例如,Get-Mailbox | where "$_.IssueWarningQuota -lt '50GB'"

JournalArchiveAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-MailUser
Get-RemoteMailbox
String

此屬性使用 SMTP 電子郵件位址。 例如,Get-Mailbox -Filter "JournalArchiveAddress -eq 'michelle@contoso.com'"

LanguagesRaw

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUserCulture Get-Mailbox 接受) 或的字串 (通配符 $null

此屬性在信箱的屬性中命名為 Languages ,且包含信箱的語言喜好設定,格式 <ISO 639 two-letter culture code>-<ISO 3166 two-letter subculture code>為 。 例如,美國 英文為 en-US。 如需詳細資訊,請參閱 CultureInfo 類別

您可以指定多個以逗號分隔的值,但順序很重要。 例如, 會 Get-Mailbox -Filter "LanguagesRaw -eq 'en-US,es-MX'" 傳回與 Get-Mailbox -Filter "LanguagesRaw -eq 'es-MX,en-US'"不同的結果。

對於單一值,如果屬性 包含 指定的值,這個多重值屬性會傳回相符專案。

LastExchangeChangedTime

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchLastExchangeChangedTime Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
$null 或日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Mailbox -Filter 'LastExchangeChangedTime -ne $null'

LegacyExchangeDN

LDAP 顯示名稱 可在 Cmdlet 上使用
legacyExchangeDN Get-CASMailbox
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UMMailbox
Get-User
Get-UnifiedGroup
接受的字串 (通配符)

例如,Get-User -Filter "LegacyExchangeDN -like 'Osca*'"

您可以執行下列命令來尋找使用者的 LegacyExchangeDN 值: Get-User | Format-List Name,LegacyExchangeDN

LitigationHoldDate

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchLitigationHoldDate Get-Mailbox
Get-MailUser
Get-RemoteMailbox
$null 或日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Mailbox -Filter "LitigationHoldDate -gt '8/13/2017'"

LitigationHoldEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
布爾 ($true$false)

例如,Get-Mailbox -Filter 'LitigationHoldEnabled -eq $true'

LitigationHoldOwner

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchLitigationHoldOwner Get-Mailbox
Get-MailUser
Get-RemoteMailbox
接受) 或的字串 (通配符 $null

此屬性會使用訴訟保留擁有者的用戶主體名稱。 例如,Get-Mailbox -Filter "LitigationHoldOwner -eq 'agruber@contoso.com'"

LastName

LDAP 顯示名稱 可在 Cmdlet 上使用
Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "LastName -like 'Martin*'"

MailboxContainerGUID

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxContainerGuid Get-Mailbox
Get-MailUser
Get-RemoteMailbox
字串或 $null

例如,Get-Mailbox -Filter 'MailboxContainerGUID -ne $null'

MailboxMoveBatchName

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxMoveBatchName Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
接受) 或的字串 (通配符 $null

此屬性包含移轉批次的名稱。 例如,Get-Mailbox -Filter "MailboxMoveBatchName -like 'LocalMove 01*'"

您可以執行 Get-MigrationBatch 命令來尋找移轉批次的名稱。 請注意,您在 Exchange 系統管理中心建立的移轉批次會使用命名慣例 MigrationService:<MigrationBatchName>

MailboxMoveFlags

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxMoveFlags Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
如需有效值,請參閱 Get-MoveRequestFlags 參數的描述。

例如,Get-Mailbox -Filter "MailboxMoveFlags -ne 'None'"

您可以指定多個以逗號分隔的值,而順序並不重要。 例如, 會 Get-Recipient -Filter "MailboxMoveFlags -eq 'IntraOrg,Pull'" 傳回與 Get-Recipient -Filter "MailboxMoveFlags -eq 'Pull,IntraOrg'"相同的結果。

只有在屬性 等於 指定的值時,這個多重值屬性才會傳回相符專案。

MailboxMoveRemoteHostName

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxMoveRemoteHostName Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
字串或 $null

例如,Get-Mailbox -Filter 'MailboxMoveRemoteHostName -ne $null'

MailboxMoveSourceMDB

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxMoveSourceMDBLink Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
字串或 $null

此篩選需要來源信箱資料庫的辨別名稱。 例如,Get-Mailbox -Filter "MailboxMoveSourceMDB -eq 'CN=MBX DB02,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找信箱資料庫的辨別名稱: Get-MailboxDatabase | Format-List Name,DistinguishedName

MailboxMoveStatus

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxMoveStatus Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
如需有效值,請參閱 Get-MoveRequestMoveStatus 參數的描述。

例如,Get-Mailbox -Filter "MailboxMoveStatus -eq 'Completed'"

MailboxMoveTargetMDB

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxMoveTargetMDBLink Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
字串或 $null

此篩選需要目標信箱資料庫的辨別名稱。 例如,Get-Mailbox -Filter "MailboxMoveTargetMDB -eq 'CN=MBX DB02,CN=Databases,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找信箱資料庫的辨別名稱: Get-MailboxDatabase | Format-List Name,DistinguishedName

MailboxPlan

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchParentPlanLink Get-Mailbox 字串或 $null

信箱方案對應至 Microsoft 365 授權類型。 授權方案的可用性取決於您在註冊網域時所做的選擇。

例如,Get-Mailbox -Filter 'MailboxPlan -ne $null'

MailboxRelease

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxRelease Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-User
NoneE14E15$null

例如,Get-Recipient -Filter 'MailboxRelease -ne $null'

MailTipTranslations

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchSenderHintTranslations Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
接受) 或的字串 (通配符 $null

當您在篩選中使用此屬性時,必須考慮前置和尾端的 HTML 標記。 例如,Get-DistributionGroup -Filter "MailTipTranslations -like 'is not monitored.*'"

ManagedBy

LDAP 顯示名稱 可在 Cmdlet 上使用
managedBy Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-Recipient
Get-UnifiedGroup
字串或 $null

此篩選器需要群組擁有者的辨別名稱或標準辨別名稱, (擁有郵件功能的安全性主體,也就是信箱、郵件使用者或擁有郵件功能的安全組) 。 例如,Get-Mailbox -Filter "ManagedBy -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "ManagedBy -eq 'contoso.com/Users/Angela Gruber'"

若要尋找啟用郵件之安全性主體的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

ManagedFolderMailboxPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMailboxTemplateLink Get-Mailbox
Get-Recipient
字串或 $null

Exchange 2013 或更新版本中無法使用受控資料夾信箱原則。

例如,Get-Mailbox -Filter 'ManagedFolderMailboxPolicy -eq $null'

此篩選需要受控資料夾信箱原則的辨別名稱。 例如,Get-Mailbox -Filter "ManagedFolderMailboxPolicy -eq 'CN=MFM Inbox Policy,CN=ELC Mailbox Policies,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令,在 Exchange 2010 伺服器上找到受管理資料夾信箱原則的辨別名稱: Get-ManagedFolderMailboxPolicy | Format-List Name,DistinguishedName

管理員

LDAP 顯示名稱 可在 Cmdlet 上使用
經理 Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
字串或 $null

此篩選器需要 (信箱或郵件使用者) 之管理員的辨別名稱或標準辨別名稱。 例如,Get-User -Filter "Manager -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "Manager -eq 'contoso.com/Users/Angela Gruber'"

若要尋找主管的辨別名稱,請將 RecipientIdentity> 取代<為收件者的名稱、別名或電子郵件地址,然後執行此命令:Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName.

MAPIEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

例如,Get-CASMailbox -Filter 'MAPIEnabled -eq $false'

MasterAccountSid

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMasterAccountSid Get-Mailbox
Get-LinkedUser
Get-Recipient
Get-SecurityPrincipal
Get-User
字串或 $null

例如,Get-Mailbox -Filter 'MasterAccountSid -ne $null'

此值是 $null 與相關聯使用者帳戶 S-1-5-10 的信箱 () 空白, (沒有相關聯用戶帳戶的信箱自我) (例如,共用信箱、資源信箱、探索搜尋信箱、仲裁信箱和公用資料夾信箱) 。

MaxBlockedSenders

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMaxBlockedSenders Get-Mailbox 整數或 $null

例如,Get-Mailbox -Filter "MaxBlockedSenders -gt 0"

MaxReceiveSize

LDAP 顯示名稱 可在 Cmdlet 上使用
delivContLength Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
位元組量化大小值 (例如, 75MB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "MaxReceiveSize -eq 'Unlimited'"Get-Mailbox -Filter "MaxReceiveSize -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.MaxReceiveSize -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.MaxReceiveSize -gt '50GB'"

MaxSafeSenders

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMaxSafeSenders Get-Mailbox 整數或 $null

例如,Get-Mailbox -Filter "MaxSafeSenders -gt 0"

MaxSendSize

LDAP 顯示名稱 可在 Cmdlet 上使用
submissionContLength Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
位元組量化大小值 (例如, 75MB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "MaxSendSize -eq 'Unlimited'"Get-Mailbox -Filter "MaxSendSize -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.MaxReceiveSize -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.MaxSendSize -gt '50GB'"

MemberDepartRestriction

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchGroupDepartRestriction Get-DistributionGroup Closed (0) 、 Open (1) 或 ApprovalRequired (2) 。

例如,Get-DistributionGroup -Filter "MemberDepartRestriction -eq 'ApprovalRequired'"

MemberJoinRestriction

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchGroupDepartRestriction Get-DistributionGroup Closed (0) 、 Open (1) 或 ApprovalRequired (2) 。

例如,Get-DistributionGroup -Filter "MemberJoinRestriction -eq 'ApprovalRequired'"

MemberOfGroup

LDAP 顯示名稱 可在 Cmdlet 上使用
memberOf Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMMailbox
Get-User
字串或 $null

此篩選器需要通訊群組或擁有郵件功能之安全組的辨別名稱或標準辨別名稱。 例如,Get-User -Filter "MemberOfGroup -eq 'CN=Marketing Department,CN=Users,DC=contoso,DC=com'"Get-User -Filter "MemberOfGroup -eq 'contoso.com/Users/Marketing Group'"

若要尋找群組的辨別名稱,請將 GroupIdentity> 取代<為群組的名稱、別名或電子郵件地址,然後執行下列命令:Get-DistributionGroup -Identity "<GroupIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

成員

LDAP 顯示名稱 可在 Cmdlet 上使用
成員 Get-DistributionGroup
Get-Group
Get-Recipient
Get-SecurityPrincipal
字串或 $null

此篩選需要群組成員的辨別名稱或標準辨別名稱。 例如,Get-Group -Filter "Members -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-User -Filter "Members -eq 'contoso.com/Users/Angela Gruber'"

若要尋找群組成員的辨別名稱,請將 RecipientIdentity> 取代<為群組成員的名稱、別名或電子郵件地址,然後執行下列命令:Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

手機

LDAP 顯示名稱 可在 Cmdlet 上使用
移動 Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "MobilePhone -like '555*'"

ModeratedBy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchModeratedByLink Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
String

此篩選器需要群組仲裁者的辨別名稱或標準辨別名稱, (擁有郵件功能的安全性主體,也就是信箱、信箱使用者或擁有郵件功能的安全組) 。 例如,Get-DistributionGroup -Filter "ModeratedBy -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-DistributionGroup -Filter "ModeratedBy -eq 'contoso.com/Users/Angela Gruber'"

若要尋找啟用郵件之安全性主體的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

ModerationEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchEnableModeration Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-DistributionGroup -Filter 'ModerationEnabled -eq $true'

名稱

LDAP 顯示名稱 可在 Cmdlet 上使用
name Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
接受的字串 (通配符)

例如,Get-User -Filter "Name -like 'Laura*'"

NetID

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-Mailbox
Get-User
字串或 $null

此屬性會填入混合式環境中 Exchange Online 信箱。 範例值為 1003BFFD9A0CFA03

例如,Get-User -Filter 'NetId -ne $null'

附註

LDAP 顯示名稱 可在 Cmdlet 上使用
資訊 Get-Contact
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Recipient
Get-User
Get-UnifiedGroup
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Notes -like 'Events Team*'"

ObjectCategory

LDAP 顯示名稱 可在 Cmdlet 上使用
objectCategory Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
String

此篩選需要物件的正式辨別名稱。 值會使用 語 <domain>/Configuration/Schema/<Type>法 。

有效的<類型>值為:Person適用於信箱、郵件使用者和郵件聯繫人、Group通訊群組、擁有郵件功能的安全組和 Microsoft 365 群組、ms-Exch-Public-Folder啟用郵件功能的公用資料夾,以及ms-Exch-Dynamic-Distribution-List動態通訊群組。

例如,Get-Recipient -Filter "ObjectCategory -eq 'contoso.com/Configuration/Schema/Group'"

ObjectClass

LDAP 顯示名稱 可在 Cmdlet 上使用
objectClass Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
String

此屬性top, person, organizationalPerson, user的值適用於信箱和郵件使用者、top, person, organizationalPerson, contact郵件聯繫人、top, group通訊群組、擁有郵件功能的安全組和 Microsoft 365 群組、msExchDynamicDistributionList動態通訊群組和top, publicFolder擁有郵件功能的公用資料夾

例如,Get-Recipient -Filter "ObjectClass -eq 'Contact'"

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

Office

LDAP 顯示名稱 可在 Cmdlet 上使用
physicalDeliveryOfficeName Get-Contact
Get-LinkedUser
Get-Mailbox
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Office -like '22*'"

OfflineAddressBook

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUseOAB Get-Mailbox 字串或 $null

此篩選需要離線通訊錄的辨別名稱。 例如,Get-Mailbox -Arbitration -Filter "OfflineAddressBook -eq 'CN=OAB 1,CN=Offline Address Lists,CN=Address Lists Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

您可以執行下列命令來尋找離線通訊錄的辨別名稱: Get-OfflineAddressBook | Format-List Name,DistinguishedName

OnPremisesObjectId

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-MailPublicFolder 字串或 $null

例如,Get-MailPublicFolder -Filter 'OnPremisesObjectId -ne $null'

OperatorNumber

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMOperatorNumber Get-UMMailbox 接受) 或的字串 (通配符 $null

例如,Get-UMMailbox -Filter "OperatorNumber -eq 5"

OtherFax

LDAP 顯示名稱 可在 Cmdlet 上使用
otherFacsimileTelephoneNumber Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "OtherFax -like '206*'"

OtherHomePhone

LDAP 顯示名稱 可在 Cmdlet 上使用
otherHomePhone Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "OtherHomePhone -like '206*'"

OtherTelephone

LDAP 顯示名稱 可在 Cmdlet 上使用
otherTelephone Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "OtherTelephone -like '206*'"

OWAEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

篩選條件會回溯運作。 例如, 會 Get-CASMailbox -Filter 'OWAEnabled -eq $true' 傳回 OWAEnabled 屬性為 False的信箱,並 Get-CASMailbox -Filter 'OWAEnabled -eq $false' 傳回 OWAEnabled 屬性所在的信箱 True

OWAforDevicesEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchOmaAdminWirelessEnable Get-CASMailbox 布爾 ($true$false)

例如,Get-CASMailbox -Filter 'OWAForDevicesEnabled -eq $true'

OWAMailboxPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchOWAPolicy Get-CASMailbox
Get-Recipient
字串或 $null

此篩選器需要 Outlook 網頁版 信箱原則的辨別名稱, (先前稱為 Outlook Web App 信箱原則) 。 例如, Get-CASMailbox -Filter "OWAMailboxPolicy -eq 'CN=Default,CN=OWA Mailbox Policies,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com“”。

您可以執行下列命令來尋找 Outlook 網頁版 信箱原則的辨別名稱:Get-OwaMailboxPolicy | Format-List Name,DistinguishedName

呼叫器

LDAP 顯示名稱 可在 Cmdlet 上使用
傳呼機 Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Pager -like '206*'"

PersistedCapabilities

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-MailUser
Get-RemoteMailbox
字串或 $null

一般而言,這個屬性 $null 的值不是 (Microsoft 365 帳戶和信箱的空白) 。 如需有效屬性值的詳細資訊,請參閱 功能列舉

例如,Get-Mailbox -Filter 'PersistedCapabilities -ne $null'

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

Phone

LDAP 顯示名稱 可在 Cmdlet 上使用
telephoneNumber Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Phone -like '206*'"

PhoneProviderId

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMPhoneProvider Get-UMMailbox 接受) 或的字串 (通配符 $null

例如,Get-UMMailbox -Filter "PhoneProviderId -like '206*'"

PhoneticDisplayName

LDAP 顯示名稱 可在 Cmdlet 上使用
msDS-PhoneticDisplayName Get-Contact
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-MailPublicFolder
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "PhoneticDisplayName -like 'Lila*'"

PoliciesExcluded

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchPoliciesExcluded Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

例如,Get-Recipient -Filter 'PoliciesExcluded -ne $null'

PoliciesIncluded

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchPoliciesIncluded Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

例如,Get-Recipient -Filter 'PoliciesIncluded -eq $null'

PopEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox 布爾 ($true$false)

例如,Get-CASMailbox -Filter 'POPEnabled -eq $false'

PostalCode

LDAP 顯示名稱 可在 Cmdlet 上使用
postalCode Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "PostalCode -eq 90210"

PostOfficeBox

LDAP 顯示名稱 可在 Cmdlet 上使用
postOfficeBox Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "PostOfficeBox -like '555*'"

PreviousRecipientTypeDetails

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchPreviousRecipientTypeDetails Get-LinkedUser
Get-User
字串或 $null

如需有效值,請參閱 Get-RecipientRecipientTypeDetails 參數的描述。

例如,Get-User -Filter 'PreviousRecipientTypeDetails -ne $null'

PrimarySmtpAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UMMailbox
Get-UnifiedGroup
接受的字串 (通配符)

請勿使用 PrimarySmtpAddress 屬性;請改用 EmailAddresses 屬性。 任何使用 PrimarySmtpAddress 屬性的篩選也會搜尋 EmailAddresses 屬性中的值。 例如,如果信箱具有主要電子郵件位址 ,而其他 Proxy 位址dario@contoso.comdario2@contoso.com和 dario3@contoso.com,則下列所有篩選都會在結果中傳回該信箱:"PrimarySmtpAddress -eq 'dario@contoso.com'""PrimarySmtpAddress -eq 'dario2@contoso.com'""PrimarySmtpAddress -eq 'dario3@contoso.com'"

ProhibitSendQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
mDBOverQuotaLimit Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "ProhibitSendQuota -eq 'Unlimited'"Get-Mailbox -Filter "ProhibitSendQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.ProhibitSendQuota -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.ProhibitSendQuota -lt '70GB'"

ProhibitSendReceiveQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
mDBOverHardQuotaLimit Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "ProhibitSendReceiveQuota -eq 'Unlimited'"Get-Mailbox -Filter "ProhibitSendReceiveQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.ProhibitSendReceiveQuota -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.ProhibitSendReceiveQuota -lt '70GB'"

ProtocolSettings

LDAP 顯示名稱 可在 Cmdlet 上使用
protocolSettings Get-Mailbox
Get-MailUser
Get-RemoteMailbox
接受) 或的字串 (通配符 $null

信箱上這個屬性的預設值是 RemotePowerShell§1。 當您使用 Set-CASMailbox 停用通訊協定 (例如 POP3 或 IMAP4) 時,此屬性會填入其他值。

例如,Get-Mailbox -Filter "ProtocolSettings -like 'POP3*'"

PublicFolderContacts

LDAP 顯示名稱 可在 Cmdlet 上使用
pFContacts Get-MailPublicFolder 字串或 $null

此屬性會在命令Get-MailPublicFolder -Identity <PublicFolderIdentity> | Format-List的結果中顯示為 Contacts,但您必須在篩選中使用屬性名稱 PublicFolderContacts

此篩選器需要公用資料夾聯絡人的辨別名稱或標準辨別名稱。 例如,Get-MailPublicFolder -Filter "PublicFolderContacts -eq 'CN=Angela Gruber,CN=Users,DC=contoso,DC=com'"Get-MailPublicFolder -Filter "PublicFolderContacts -eq 'contoso.com/Users/Angela Gruber'"

若要尋找公用資料夾聯繫人的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

QueryBaseDN

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchQueryBaseDN Get-Mailbox 字串或 $null

此屬性用於 Exchange 2007 全域通訊清單隔離,以指定 Active Directory 中的位置。 此功能已由 Exchange 2010 Service Pack 2 中的通訊簿原則取代,因此此屬性的值應一律空白 ( $null) 。

例如,Get-Mailbox -Filter 'QueryBaseDN -ne $null'

RecipientContainer

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchDynamicDLBaseDN Get-DynamicDistributionGroup 字串或 $null

此篩選器需要 Active Directory 中組織單位或容器的辨別名稱或標準辨別名稱。 例如, Get-DynamicDistributionGroup -Filter "RecipientContainer -eq 'CN=Users,DC=contoso,DC=com'"Get-DynamicDistributionGroup -Filter "RecipientContainer -eq 'contoso.com/Users'"

若要在 Active Directory 中尋找組織單位和容器的辨別名稱或標準辨別名稱,請執行下列命令: Get-OrganizationalUnit -IncludeContainers | Format-List Name,DistinguishedName,ID

RecipientLimits

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchRecipLimit Get-Mailbox
Get-MailUser
Get-RemoteMailbox
整數或 Unlimited

例如,Get-Mailbox -Filter "RecipientLimits -ne 'Unlimited'"

RecipientType

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-User
Get-UnifiedGroup
DynamicDistributionGroupMailContactMailNonUniversalGroupMailUniversalDistributionGroupMailUniversalSecurityGroupMailUserPublicFolderUserMailbox

例如,Get-Recipient -Filter "RecipientType -eq 'MailContact'"

RecipientTypeDetails

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-User
Get-UnifiedGroup
String

如需有效值,請參閱 Get-RecipientRecipientTypeDetails 參數的描述。

例如,Get-Recipient -Filter "RecipientTypeDetails -eq 'SharedMailbox'"

RecoverableItemsQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchDumpsterQuota Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "RecoverableItemsQuota -eq 'Unlimited'"Get-Mailbox -Filter "RecoverableItemsQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.RecoverableItemsQuota -<Operator> '<Size>'。 例如,Get-Mailbox | where "$_.RecoverableItemsQuota -gt '35GB'"

RecoverableItemsWarningQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchDumpsterWarningQuota Get-Mailbox
Get-MailUser
Get-RemoteMailbox
位元組量化大小值 (例如 或 300MB1.5GB) 或 Unlimited。 無限定的值會視為位元組。

您只能使用 Filter 參數來尋找這個屬性的值 Unlimited 。 例如,Get-Mailbox -Filter "RecoverableItemsWarningQuota -eq 'Unlimited'"Get-Mailbox -Filter "RecoverableItemsWarningQuota -ne 'Unlimited'"

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法:“ Get-Mailbox | where "$_.RecoverableItemsWarningQuota -<Operator> '<Size>'。 例如,Get-Mailbox | where "$_.RecoverableItemsWarningQuota -gt '25GB'"

RejectMessagesFrom

LDAP 顯示名稱 可在 Cmdlet 上使用
unauthOrig Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

此篩選器需要個別收件者的辨別名稱, (信箱、郵件使用者或郵件聯繫人) 。 例如,Get-DistributionGroup -Filter "RejectMessagesFrom -eq 'CN=Yuudai Uchida,CN=Users,DC=contoso,DC=com'"Get-DistributionGroup -Filter "RejectMessagesFrom -eq 'contoso.com/Users/Angela Gruber'"

若要尋找個別收件者的辨別名稱,請以收件者的名稱、別名或電子郵件位址取代 <RecipientIdentity> ,然後執行下列命令: Get-Recipient -Identity "<RecipientIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

RejectMessagesFromDLMembers

LDAP 顯示名稱 可在 Cmdlet 上使用
dLMemRejectPerms Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UnifiedGroup
字串或 $null

此篩選器需要群組的辨別名稱或標準辨別名稱, (通訊群組、擁有郵件功能的安全組或動態通訊群組) 。 例如,Get-Mailbox -Filter "RejectMessagesFromDLMembers -eq 'CN=Marketing Department,CN=Users,DC=contoso,DC=com'"Get-Mailbox -Filter "RejectMessagesFromDLMembers -eq 'contoso.com/Users/Marketing Department'"

若要尋找群組的辨別名稱,請將 GroupIdentity> 取代<為群組的名稱、別名或電子郵件地址,然後執行下列其中一個命令:或 Get-DynamicDistributionGroup -Identity "<GroupIdentity>" | Format-List Name,DistinguishedNameGet-DistributionGroup -Identity "<GroupIdentity>" | Format-List Name,DistinguishedName

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

RemoteAccountPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchSyncAccountsPolicyDN Get-Mailbox 字串或 $null

此篩選器需要遠端帳戶原則的辨別名稱。 例如,Get-Mailbox -Filter "RemoteAccountPolicy -eq 'CN=Contoso Remote Account Policy,CN=Remote Accounts Policies Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

RemotePowerShellEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-User 布爾 ($true$false)

例如,Get-User -Filter 'RemotePowerShellEnabled -eq $false'

RemoteRecipientType

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchRemoteRecipientType Get-Mailbox
Get-RemoteMailbox
None (0) ProvisionMailbox (1) 、 ProvisionArchive (2) 、 Migrated (4) 、 DeprovisionMailbox (8) 、 DeprovisionArchive (16) 、 RoomMailbox (32) 、 EquipmentMailbox (64) 、 SharedMailbox (96) 、 TeamMailbox (128) 或 $null

例如,Get-RemoteMailbox -Filter "RemoteRecipientType -eq 'ProvisionMailbox'"

ReportToManagerEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
reportToOwner Get-DistributionGroup
Get-DynamicDistributionGroup
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-DistributionGroup -Filter 'ReportToManagerEnabled -eq $true'

ReportToOriginatorEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
reportToOriginator Get-DistributionGroup
Get-DynamicDistributionGroup
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-DistributionGroup -Filter 'ReportToOriginatorEnabled -eq $false'

RequireAllSendersAreAuthenticated

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchRequireAuthToSendTo Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-SecurityPrincipal
布爾 ($true$false)

此屬性在命令Get-<RecipientType> -Identity <RecipientIdentity> | Format-List的結果中會顯示為 RequireSenderAuthenticationEnabled,但您必須在篩選中使用屬性名稱 RequireAllSendersAreAuthenticated。 例如,Get-DistributionGroup -Filter 'RequireAllSendersAreAuthenticated -eq $false'

ResourceBehaviorOptions

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-UnifiedGroup AllowOnlyMembersToPostCalendarMemberReadOnly、、、ConnectorsEnabledHideGroupInOutlookNotebookForLearningCommunitiesEnabledReportToOriginatorSharePointReadonlyForMembersSubscriptionEnabledSubscribeMembersToCalendarEventsSubscribeMembersToCalendarEventsDisabledSubscribeNewGroupMembersWelcomeEmailDisabledWelcomeEmailEnabled$null

例如,Get-UnifiedGroup -Filter "ResourceBehaviorOptions -eq 'CalendarMemberReadOnly'"

ResourceCapacity

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchResourceCapacity Get-Mailbox 整數或 $null

例如,Get-Mailbox -Filter "ResourceCapacity -gt 15"

ResourceCustom

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 字串或 $null

您可以使用 Set-ResourceConfig Cmdlet 來建立自訂資源屬性。 例如,Set-ResourceConfig -ResourcePropertySchema Room/Whiteboard,Equipment/Van。 建立屬性之後,您可以將它們指派給會議室或設備信箱。 例如,Set-Mailbox -Identity "Conference Room 1" -ResourceCustom Whiteboard

當您搜尋值時,請使用指派給會議室或設備信箱的自定義資源屬性。 例如,Get-Mailbox -Filter "ResourceCustom -eq 'Whiteboard'"

ResourceProvisioningOptions

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-UnifiedGroup Team$null

例如,Get-UnifiedGroup -Filter "ResourceProvisioningOptions -eq 'Team'"

ResourceType

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-Recipient
Room (0) 、 Equipment (1) 或 $null

例如,Get-Mailbox -Filter "ResourceType -eq 'Equipment'"

RetainDeletedItemsFor

LDAP 顯示名稱 可在 Cmdlet 上使用
garbageCollPeriod Get-Mailbox
Get-MailUser
Get-RemoteMailbox
時間範圍值: dd.hh:mm:ss ,其中 dd = days、 hh = hours、 mm = minutes 和 ss = seconds。

您無法使用 Filter 參數來尋找這個屬性的時間範圍值。 請改用此語法: Get-Mailbox | where "$_.RetainDeletedItemsFor -<Operator> '<TimeSpan>'"。 例如,Get-Mailbox | where "$_.RetainDeletedItemsFor -gt '14.00:00:00'"

RetentionComment

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchRetentionComment Get-Mailbox
Get-MailUser
Get-RemoteMailbox
接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter "RetentionComment -like '7 years*'"

RetentionPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-Recipient
字串或 $null

此篩選需要保留原則的辨別名稱。 例如,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'"

若要尋找保留原則的辨別名稱,請執行下列命令: Get-RetentionPolicy | Format-List Name,DistinguishedName

RetentionUrl

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchRetentionURL Get-Mailbox
Get-MailUser
Get-RemoteMailbox
接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter "RetentionUrl -like 'https://intranet.contoso.com/*'"

RoleAssignmentPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchRBACPolicyLink Get-Mailbox 接受) 或的字串 (通配符 $null

此篩選器需要 Exchange Online 中角色指派原則的辨別名稱。 例如,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'"

若要在 Exchange Online 中尋找角色指派原則的辨別名稱,請執行下列命令:Get-RoleAssignmentPolicy | Format-List Name,DistinguishedName

RulesQuota

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMDBRulesQuota Get-Mailbox 例如 50B128KB ,或) (位元組量化大小值。 無限定的值會視為位元組。

您無法使用 Filter 參數來尋找這個屬性的大小值。 請改用此語法: Get-Mailbox | where "$_.RulesQuota -<Operator> '<Size>'"。 例如,Get-Mailbox | where "$_.RulesQuota -lt '256KB'"

SafeRecipientsHash

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchSafeRecipientsHash Get-Recipient 空白 ( $null) 或哈希值。

實際上,您只能使用此值來篩選空白或非空白值。 例如,Get-Recipient -Filter 'SafeRecipientsHash -ne $null'.

SafeSendersHash

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchSafeSendersHash Get-Recipient 空白 ( $null) 或哈希值。

實際上,您只能使用此值來篩選空白或非空白值。 例如,Get-Recipient -Filter 'SafeSendersHash -ne $null'.

SamAccountName

LDAP 顯示名稱 可在 Cmdlet 上使用
SamAccountName Get-CASMailbox
Get-DistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-UMMailbox
Get-User
接受) 或的字串 (通配符 $null

例如,Get-Recipient -Filter "SamAccountName -like 'laura*'"

SCLDeleteThresholdInt

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMessageHygieneSCLDeleteThreshold Get-Mailbox -2147483648 (SCL 值 0) 、-2147483647 (SCL 值 1) 、-2147483646 (SCL 值 2) 、 -2147483645 (SCL 值 3) 、-2147483644 (SCL 值 4) 、-2147483643 (SCL 值 5) 、-2147483642 (SCL 值 6) 、-2147483641 (SCL 值 7) 、-2147483640 (SCL 值 8) 、-2147483639 (SCL 值 9) 或 $null

此屬性會在命令Get-Mailbox -Identity <MailboxIdentity> | Format-List的結果中顯示為 SCLDeleteThreshold,但您必須在篩選中使用屬性名稱 SCLDeleteThresholdInt。 例如,Get-Mailbox -Filter "SCLDeleteThresholdInt -ge -2147483640"

SCLJunkThresholdInt

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMessageHygieneSCLJunkThreshold Get-Mailbox -2147483648 (SCL 值 0) 、-2147483647 (SCL 值 1) 、-2147483646 (SCL 值 2) 、 -2147483645 (SCL 值 3) 、-2147483644 (SCL 值 4) 、-2147483643 (SCL 值 5) 、-2147483642 (SCL 值 6) 、-2147483641 (SCL 值 7) 、-2147483640 (SCL 值 8) 、-2147483639 (SCL 值 9) 或 $null

此屬性會在命令Get-Mailbox -Identity <MailboxIdentity> | Format-List的結果中顯示為 SCLJunkThreshold,但您必須在篩選中使用屬性名稱 SCLJunkThresholdInt。 例如,Get-Mailbox -Filter "SCLJunkThresholdInt -ge -2147483645"

SCLQuarantineThresholdInt

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMessageHygieneSCLQuarantineThreshold Get-Mailbox -2147483648 (SCL 值 0) 、-2147483647 (SCL 值 1) 、-2147483646 (SCL 值 2) 、 -2147483645 (SCL 值 3) 、-2147483644 (SCL 值 4) 、-2147483643 (SCL 值 5) 、-2147483642 (SCL 值 6) 、-2147483641 (SCL 值 7) 、-2147483640 (SCL 值 8) 、-2147483639 (SCL 值 9) 或 $null

此屬性會在命令Get-Mailbox -Identity <MailboxIdentity> | Format-List的結果中顯示為 SCLQuarantineThreshold,但您必須在篩選中使用屬性名稱 SCLQuarantineThresholdInt。 例如,Get-Mailbox -Filter "SCLQuarantineThresholdInt -ge -2147483643"

SCLRejectThresholdInt

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchMessageHygieneSCLRejectThreshold Get-Mailbox -2147483648 (SCL 值 0) 、-2147483647 (SCL 值 1) 、-2147483646 (SCL 值 2) 、 -2147483645 (SCL 值 3) 、-2147483644 (SCL 值 4) 、-2147483643 (SCL 值 5) 、-2147483642 (SCL 值 6) 、-2147483641 (SCL 值 7) 、-2147483640 (SCL 值 8) 、-2147483639 (SCL 值 9) 或 $null

此屬性會在命令Get-Mailbox -Identity <MailboxIdentity> | Format-List的結果中顯示為 SCLRejectThreshold,但您必須在篩選中使用屬性名稱 SCLRejectThresholdInt。 例如,Get-Mailbox -Filter "SCLRejectThresholdInt -ge -2147483641"

SendOofMessageToOriginatorEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
oOFReplyToOriginator Get-DistributionGroup
Get-DynamicDistributionGroup
Get-UnifiedGroup
布爾 ($true$false)

例如,Get-DistributionGroup -Filter 'SendOofMessageToOriginatorEnabled -eq $true'

ServerLegacyDN

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchHomeServerName Get-CASMailbox
Get-Mailbox
Get-Recipient
Get-UMMailbox
接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter "ServerLegacyDN -like 'Mailbox01'"

這是完整 ServerLegacyDN 值的範例: /o=Contoso Corporation/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=Mailbox01

ServerName

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox
Get-Mailbox
Get-Recipient
Get-UMMailbox
字串或 $null

例如,Get-Recipient -Filter "ServerName -eq 'Mailbox01'"

SharingPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchSharingPolicyLink Get-Mailbox
Get-Recipient
字串或 $null

此篩選需要共用原則的辨別名稱。 例如,Get-Mailbox -Filter "SharingPolicy -eq 'CN=Custom Sharing Policy,CN=Federation,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

若要尋找共用原則的辨別名稱,請執行下列命令: Get-SharingPolicy | Format-List Name,DistinguishedName

注意事項

針對預設共用原則的預設指派, (名為默認共享原則) 至信箱,則 SharingPolicy 屬性的值 ($null) 空白。

LDAP 顯示名稱 可在 Cmdlet 上使用
objectSid Get-Group
Get-LinkedUser
Get-SecurityPrincipal
Get-User
String

例如,Get-User -Filter "Sid -eq 's-1-5-21-3628364307-1600040346-819251021-2603'"

SidHistory

LDAP 顯示名稱 可在 Cmdlet 上使用
SIDHistory Get-Group
Get-LinkedUser
Get-User
字串或 $null

例如,Get-User -Filter "SidHistory -eq 's-1-5-21-3628364307-1600040346-819251021-2603'"

SimpleDisplayName

LDAP 顯示名稱 可在 Cmdlet 上使用
displayNamePrintable Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "SimpleDisplayName -like 'lila*'"

SingleItemrecoveryEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-MailUser
Get-RemoteMailbox
布爾 ($true$false)

例如,Get-Mailbox -Filter 'SingleItemRecoveryEnabled -eq $true'

SKUAssigned

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-Recipient
Get-User
布林值 ($true$false) 或 $null

例如,Get-User -Filter 'SKUAssigned -eq $true'

SourceAnchor

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox 接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter 'SourceAnchor -ne $null'

StateOrProvince

LDAP 顯示名稱 可在 Cmdlet 上使用
Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "StateOrProvince -like 'Carolina*'"

StreetAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
streetAddress Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "StreetAddress -like '36th Ave NE*'"

StsRefreshTokensValidFrom

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchStsRefreshTokensValidFrom Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-RemoteMailbox
Get-User
$null 或日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-User -Filter "StsRefreshTokensValidFrom -gt '8/1/2017'"

TelephoneAssistant

LDAP 顯示名稱 可在 Cmdlet 上使用
telephoneAssistant Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "TelephoneAssistant -like '206*'"

ThrottlingPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchThrottlingPolicyDN Get-Mailbox 字串或 $null

此篩選需要節流原則的辨別名稱。 例如,Get-Mailbox -Filter "ThrottlingPolicy -eq 'CN=Custom Throttling Policy,CN=Global Settings,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

若要尋找節流原則的辨別名稱,請執行下列命令: Get-ThrottlingPolicy | Format-List Name,DistinguishedName

標題

LDAP 顯示名稱 可在 Cmdlet 上使用
title Get-Contact
Get-LinkedUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "Title -eq 'Dr.'"

UMAddresses

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMAddresses Get-UMMailbox 接受) 或的字串 (通配符 $null

例如,Get-UMMailbox -Filter 'UMAddresses -ne $null'

UMCallingLineIds

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMCallingLineIds Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "UMCallingLineIds -like '123*'"

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

UMDtmfMap

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMDtmfMap Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-UMMailbox
Get-User
接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter "UMDtmfMap -like '26297*'"

雖然這個屬性是多重值,但如果屬性 包含 指定的值,則篩選會傳回相符專案。

UMEnabled

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-Mailbox
Get-Recipient
Get-UMMailbox
布爾 ($true$false)

例如,Get-Mailbox -Filter 'UMEnabled -eq $true'

UMMailboxPolicy

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMTemplateLink Get-Recipient
Get-UMMailbox
字串或 $null

此篩選需要 UM 信箱原則的辨別名稱。 例如,Get-Recipient -Filter "UMMailboxPolicy -eq 'CN=Contoso Default Policy,CN=UM Mailbox Policies,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

若要尋找 UM 信箱原則的辨別名稱,請執行下列命令: Get-UMMailboxPolicy | Format-List Name,DistinguishedName

UMRecipientDialPlanId

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUMRecipientDialPlanLink Get-Recipient 字串或 $null

此篩選器需要UM撥號對應表的辨別名稱。 例如,Get-Recipient -Filter "UMMailboxPolicy -eq 'CN=Contoso Dial Plan,CN=UM DialPlan Container,CN=Contoso Corporation,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'"

若要尋找 UM 撥號對應表的辨別名稱,請執行下列命令: Get-UMDialPlan | Format-List Name,DistinguishedName

UpgradeRequest

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-User None (0) 、 TenantUpgrade (1) 、 PrestageUpgrade (2) 、 CancelPrestageUpgrade (3) 、 PilotUpgrade (4) 或 TenantUpgradeDryRun (5) 、

例如,Get-User -Filter "UpgradeRequest -ne 'None'"

UpgradeStatus

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-User None (0) 、 NotStarted (1) 、 InProgress (2) 、 Warning (3) 、 Error (4) 、 Cancelled (5) 、 Complete (6) 或 ForceComplete (7) 。

例如,Get-User -Filter "UpgradeStatus -ne 'None'"

UsageLocation

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUsageLocation Get-Mailbox
Get-MailUser
Get-Recipient
字串或 $null

此篩選器需要 ISO 3166-1 國家/地區名稱 (例如, United States) 或兩個字母的國家/地區代碼 (例如 US Microsoft 365 中使用者的) 。 如需詳細資訊,請參閱 國家/地區代碼 - ISO 3166

例如,Get-Recipient -Filter 'UsageLocation -eq "US"'

UseDatabaseQuotaDefaults

LDAP 顯示名稱 可在 Cmdlet 上使用
mDBUseDefaults Get-Mailbox 布爾 ($true$false)

例如,Get-Mailbox -Filter 'UseDatabaseQuotaDefaults -eq $false'

UserAccountControl

LDAP 顯示名稱 可在 Cmdlet 上使用
userAccountControl Get-LinkedUser
Get-User
AccountDisabledDoNotExpirePasswordNormalAccount

例如,Get-User -Filter "UserAccountControl -eq 'NormalAccount'"

您可以指定多個以逗號分隔的值,但順序很重要。 例如, 會 Get-User -Filter "UserAccountControl -eq 'AccountDisabled,NormalAccount'" 傳回與 Get-User -Filter "UserAccountControl -eq 'NormalAccount,AccountDisabled'"不同的結果。

只有在屬性 等於 指定的值時,這個多重值屬性才會傳回相符專案。

UserPrincipalName

LDAP 顯示名稱 可在 Cmdlet 上使用
userPrincipalName Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-RemoteMailbox
Get-User
接受的字串 (通配符)

例如,Get-User -Filter "UserPrincipalName -like 'julia@*'"

VoiceMailSettings

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchUCVoiceMailSettings Get-Contact
Get-LinkedUser
Get-User
字串或 $null

例如,Get-User -Filter 'VoiceMailSettings -ne $null'

WebPage

LDAP 顯示名稱 可在 Cmdlet 上使用
wWWHomePage Get-Contact
Get-LinkedUser
Get-User
接受) 或的字串 (通配符 $null

例如,Get-User -Filter "WebPage -like 'https://intranet.contoso.com/*'"

WhenChanged

LDAP 顯示名稱 可在 Cmdlet 上使用
WhenChanged Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Recipient -Filter "WhenChanged -gt '8/1/2017 2:00:00 PM'"

WhenChangedUTC

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Recipient -Filter "WhenChangedUTC -gt '8/1/2017 2:00:00 PM'"

WhenCreated

LDAP 顯示名稱 可在 Cmdlet 上使用
whenCreated Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Recipient -Filter "WhenCreated -gt '8/1/2017 2:00:00 PM'"

WhenCreatedUTC

LDAP 顯示名稱 可在 Cmdlet 上使用
不適用 Get-CASMailbox
Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-Recipient
Get-RemoteMailbox
Get-SecurityPrincipal
Get-UMMailbox
Get-User
Get-UnifiedGroup
日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Recipient -Filter "WhenCreatedUTC -gt '8/1/2017 2:00:00 PM'"

WhenMailboxCreated

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchWhenMailboxCreated Get-Mailbox
Get-MailUser
Get-Recipient
Get-RemoteMailbox
日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

例如,Get-Recipient -Filter "WhenMailboxCreated -gt '8/1/2017 2:00:00 PM'"

WhenSoftDeleted

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchWhenSoftDeletedTime Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-RemoteMailbox
Get-User
Get-UnifiedGroup
日期/時間值:64 位值,代表自 1601 年 1 月 1 日起的 100 奈秒間隔數目 (UTC)

此篩選器需要信箱命令中的 SoftDeleted 參數。

例如,Get-Mailbox -SoftDeletedMailbox -Filter "WhenSoftDeleted -gt '8/1/2017 2:00:00 PM'"

WindowsEmailAddress

LDAP 顯示名稱 可在 Cmdlet 上使用
mail Get-Contact
Get-DistributionGroup
Get-DynamicDistributionGroup
Get-Group
Get-LinkedUser
Get-Mailbox
Get-MailContact
Get-MailPublicFolder
Get-MailUser
Get-RemoteMailbox
Get-User
接受) 或的字串 (通配符 $null

例如,Get-Mailbox -Filter "WindowsEmailAddress -like '@fabrikam.com*'"

WindowsLiveID

LDAP 顯示名稱 可在 Cmdlet 上使用
msExchWindowsLiveID Get-LinkedUser
Get-Mailbox
Get-MailUser
Get-Recipient
Get-User
接受) 或的字串 (通配符 $null

例如, Get-Mailbox -Filter "WindowsEmailAddress -like '@fabrikam.onmicrosoft.com*'".|

相關資訊

Exchange 2007 是第一個需要 OPATH 篩選條件而非 LDAP 篩選器的 Exchange 版本。 如需將LDAP篩選轉換成OPATH篩選的詳細資訊,請參閱 Microsoft Exchange 小組部落格文章: 需要協助將LDAP篩選轉換成 OPATH?