CmdID / PowerShell / Cmdlets / Set
Set-OrganizationSegment
Use the Set-OrganizationSegment cmdlet to modify organization segments in the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 2 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the organization segment that you want to modify.-UserGroupFilterThe UserGroupFilter parameter uses OPATH filter syntax to specify the members of the organization segment.