CmdID / PowerShell / Cmdlets / Remove
Remove-OrganizationSegment
Use the Remove-OrganizationSegment cmdlet to remove organization segments from the Microsoft Purview compliance portal. Exchange PowerShell reference
From the Exchange PowerShell reference 3 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the organization segment that you want to remove.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.