Get-InformationBarrierRecipientStatus

此 Cmdlet 僅適用于安全 & 性合規性 PowerShell。 如需詳細資訊,請參閱 安全 & 性合規性 PowerShell

使用 Get-InformationBarrierRecipientStatus Cmdlet 可傳回收件者及其與資訊屏障原則的關聯性相關資訊。

如需下方<語法>一節中參數集的詳細資訊,請參閱 Exchange Cmdlet 語法

Syntax

Get-InformationBarrierRecipientStatus
   [-Identity] <RecipientIdParameter>
   [[-Identity2] <RecipientIdParameter>]
   [<CommonParameters>]

Description

下列資訊會在此 Cmdlet 的輸出中傳回:

  • 警告訊息,指出收件者是否包含在資訊屏障原則中。
  • 如果存在,ExOPolicyId 屬性值中的 GUID 部分會識別收件者所包含的資訊屏障原則。 您可以執行 命令 Get-InformationBarrierPolicy -ExOPolicyId <GUID> 來識別及檢視原則的詳細資料。
  • 收件者的基本資訊 (顯示名稱、別名和姓氏) 。
  • 可在 Department、CustomAttributeN 等組織區段 (中使用的收件者屬性) 以及收件者目前的屬性值。

若要在安全 & 性合規性 PowerShell 中使用此 Cmdlet,您必須獲指派許可權。 如需詳細資訊,請參閱 Microsoft Purview 合規性入口網站中的權限

範例

範例 1

Get-InformationBarrierRecipientStatus -Identity meganb

此範例會傳回使用者 meganb 的資訊屏障原則資訊。

範例 2

Get-InformationBarrierRecipientStatus -Identity meganb -Identity2 alexw

此範例會傳回使用者 meganb 和 alexw 的資訊屏障原則關聯性。

參數

-Identity

Identity 參數會指定您要檢視區段和原則指派資訊的收件者。 您可以使用唯一識別收件者的任何值。 例如:

  • 名稱
  • 別名
  • 辨別名稱 (DN)
  • 辨別名稱 (DN)
  • 標準 DN
  • GUID
Type:RecipientIdParameter
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Security & Compliance

-Identity2

當您想要檢視 Identity 參數所指定之第一個收件者的資訊屏障原則關聯性時,Identity2 參數會指定選擇性的第二個收件者。 您可以使用可唯一識別第二位收件者的任何值。 例如:

  • 名稱
  • 別名
  • 辨別名稱 (DN)
  • 辨別名稱 (DN)
  • 標準 DN
  • GUID

當您在命令中包含此參數時,您會取得每個收件者的輸出。

您只能搭配 Identity 參數使用此參數;您無法單獨使用它。

Type:RecipientIdParameter
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Security & Compliance