Get-InformationBarrierPolicy

This cmdlet is available only in Security & Compliance Center PowerShell. For more information, see Security & Compliance Center PowerShell (https://docs.microsoft.com/powershell/exchange/scc-powershell).

Use the Get-InformationBarrierPolicy cmdlet to view information barrier policies in the Security & Compliance Center.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).

Syntax

Get-InformationBarrierPolicy
   [-ExoPolicyId <Guid>]
   [<CommonParameters>]
Get-InformationBarrierPolicy
   [[-Identity] <PolicyIdParameter>]
   [-ExoPolicyId <Guid>]
   [<CommonParameters>]

Description

For more information, see Information barrier policies.

You need to be assigned permissions in the Security & Compliance Center before you can use this cmdlet. For more information, see Permissions in the Security & Compliance Center.

Examples

Example 1

Get-InformationBarrierPolicy | Format-Table Name,State,AssignedSegment,Segments* -Auto

This example displays a summary list of all information barrier policies.

Example 2

Get-InformationBarrierPolicy -Identity HR-Sales

This example displays detailed information for the information barrier policy named HR-Sales.

Parameters

-ExoPolicyId

The ExOPolicyId parameter specifies the information barrier policy that you want to view, but using the GUID part of the ExoPolicyId property value from the output of the Get-InformationBarrierRecipientStatus cmdlet.

You can't use this parameter with the Identity parameter.

Type:Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Office 365 Security & Compliance Center
-Identity

The Identity parameter specifies the information barrier policy that you want to view. You can use any value that uniquely identifies the policy. For example:

  • Name

  • Distinguished name (DN)

  • GUID

You can't use this parameter with the ExOPolicyId parameter.

Type:PolicyIdParameter
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
Applies to:Office 365 Security & Compliance Center

Inputs

Outputs