CmdID / PowerShell / Cmdlets / Remove
Remove-ClusterNode
Removes a node from a failover cluster. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-CleanupDisks-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.-IgnoreStorageConnectivityLossIndicates that this cmdlet doesn't check whether the cluster node contains non-shared storage, if Storage Spaces Direct is enabled.-InputObjectSpecifies the cluster node to remove.-NameSpecifies the name of the cluster node to remove.-WaitSpecifies the time in seconds to wait for the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.