CmdID / PowerShell / Cmdlets / Remove
Remove-CsTeamsMessagingPolicy
Deletes a custom messaging policy. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 5 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceSuppresses all non-fatal errors.-IdentityUnique identifier for the teams messaging policy to be removed.-Tenant-WhatIf, -wiShows what would happen if the cmdlet runs.