CmdID / PowerShell / Cmdlets / Remove
Remove-UnifiedGroup
Use the Remove-UnifiedGroup cmdlet to remove Microsoft 365 Groups from your cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the Microsoft 365 Group that you want to remove.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ForceThe Force switch hides warning or confirmation messages.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.