Remove-Adfs
Farm
Node
The Remove-AdfsFarmNode cmdlet is deprecated. Instead, use the Uninstall-WindowsFeature cmdlet.
Syntax
Remove-Adfs Farm Node
-ServiceAccountCredential <PSCredential>
[<CommonParameters>]
Remove-Adfs Farm Node
-GroupServiceAccountIdentifier <String>
[-Credential <PSCredential>]
[<CommonParameters>]
Description
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.
Parameters
-Credential
Type: | PSCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GroupServiceAccountIdentifier
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServiceAccountCredential
Type: | PSCredential |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Object
Related Links
- Uninstall-WindowsFeature