CmdID / PowerShell / Cmdlets / Set
Set-InformationBarrierPolicy
Use the Set-InformationBarrierPolicy cmdlet to modify information barrier policies in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 10 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the information barrier policy that you want to modify.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThis parameter is reserved for internal Microsoft use.-ForceThe Force switch hides warning or confirmation messages.-ModerationAllowed-SegmentsAllowedThe SegmentsAllowed parameter specifies the segments that are allowed to communicate with the segment in this policy (users defined by the AssignedSegment parameter).-SegmentAllowedFilterThis parameter is reserved for internal Microsoft use.-SegmentsBlockedThe SegmentsBlocked parameter specifies the segments that aren't allowed to communicate with the segment in this policy (users defined by the AssignedSegment parameter).-StateThe State parameter specifies whether the information barrier policy is active or inactive.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.