CmdID / PowerShell / Cmdlets / Remove
Remove-WorkgroupClusterNode
Removes a node from a workgroup cluster. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-NodeAn array of nodes in the workgroup cluster.-CredentialsAn array of credentials for the nodes.-NameThe name of the node to be removed.-WaitSpecifies the time in seconds to wait for the cmdlet.-CleanupDisksRemoves any residual cluster metadata from the specified disks.-ForceForces the command to run without asking for user confirmation.-IgnoreStorageConnectivityLossIndicates that this cmdlet doesn't check whether the cluster node contains non-shared storage, if Storage Spaces Direct is enabled.-ConfirmPrompts you for confirmation before running the cmdlet.-WhatIfShows what would happen if the cmdlet runs.