編集

次の方法で共有


Remove-AdfsFarmNode

The Remove-AdfsFarmNode cmdlet is deprecated. Instead, use the Uninstall-WindowsFeature cmdlet.

Syntax

ADFSRemoveFarmNodeDefault (Default)

Remove-AdfsFarmNode
    -ServiceAccountCredential <PSCredential>
    [<CommonParameters>]

AdfsRemoveFarmNodeGmsa

Remove-AdfsFarmNode
    -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

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.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AdfsRemoveFarmNodeGmsa
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GroupServiceAccountIdentifier

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AdfsRemoveFarmNodeGmsa
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServiceAccountCredential

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.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ADFSRemoveFarmNodeDefault
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Object