Bearbeiten

Freigeben über


Set-AdfsFarmInformation

Removes a stale or offline farm node from the farm information table.

Syntax

Set-AdfsFarmInformation
   [-RemoveNode <String[]>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-AdfsFarmInformation cmdlet removes a stale or offline farm node from the farm information table in order to keep the list of Active Directory Federation Services (AD FS) farm nodes current.

Examples

Example 1: Remove a stale node

PS C:\> Set-AdfsFarmInformation -RemoveNode "adfs02.contoso.com"

This command removes the node named adfs02.contoso.com from the farm information table.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveNode

Specifies an array of fully qualified domain names (FQDN) of AD FS farm nodes to remove from the farm information table.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False