CmdID / PowerShell / Cmdlets / Remove
Remove-DeviceConfigurationRule
Use the Remove-DeviceConfigurationRule cmdlet to remove mobile device configuration rules from Basic Mobility and Security in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 3 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mobile device configuration rule that you want to view.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.