CmdID / PowerShell / Cmdlets / Remove
Remove-ClusterGroup
Removes a clustered role, also called a resource group, from a failover cluster. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-ClusterSpecifies the name of the cluster on which to run this cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceRuns the cmdlet without prompting for confirmation.-InputObjectSpecifies the clustered role to remove.-NameSpecifies the name of the clustered role to remove.-RemoveResourcesCauses the cmdlet to delete all resources in the clustered role before removing the clustered role.-VMIdSpecifies the virtual machine identifier (ID).-WhatIf, -wiShows what would happen if the cmdlet runs.