Remove-AdfsFarmNode
The Remove-AdfsFarmNode cmdlet is deprecated. Instead, use the Uninstall-WindowsFeature cmdlet.
PowerShell
Remove-AdfsFarmNode
-ServiceAccountCredential <PSCredential>
[<CommonParameters>]
PowerShell
Remove-AdfsFarmNode
-GroupServiceAccountIdentifier <String>
[-Credential <PSCredential>]
[<CommonParameters>]
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.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |