The Remove-AdfsFarmNode cmdlet is deprecated in this release.
Instead, use the Uninstall-WindowsFeature cmdlet.
For more information on the Uninstall-WindowsFeature cmdlet, type Get-Help Uninstall-WindowsFeature. Note that the Uninstall-WindowsFeature cmdlet removes only the server role but doesn't remove the node from the ADFS farm. For proper cleanup, use the Set-AdfsFarmInformation cmdlet with the -RemoveNode parameter.