en-US

InformationBarrierPolicy

Applies to : Security & Compliance

This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell.

Use the Set-InformationBarrierPolicy cmdlet to modify information barrier policies in the Microsoft Purview compliance portal.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Information barrier policies are not in effect until you set them to active status, and then apply the policies:

For more information, see Information barrier policies.

To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see Permissions in the Microsoft Purview compliance portal.

Available cmdlets

Parameters

Name Type Default value Accepted values
Comment String
ModerationAllowed Boolean
SegmentsAllowed MultiValuedProperty
SegmentAllowedFilter String
SegmentsBlocked MultiValuedProperty
State EopInformationBarrierPolicyState Inactive, Active

Examples

Example 1

Set-InformationBarrierPolicy -Identity 43c37853-ea10-4b90-a23d-ab8c93772471 -State Active

This example activates the specified inactive information barrier policy.

Microsoft Learn documentation