CmdID / PowerShell / Cmdlets / Remove
Remove-ClusterAffinityRule
Removes a specified affinity rule. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-InputObjectSpecifies the affinity rule object to remove, as returned by the Get-ClusterAffinityRule cmdlet.-NameThe name of the affinity rule to delete.-PassThruReturns the original object passed to the command.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.