Set-AdfsFarmInformation is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Removes a stale or offline farm node from the farm information table.
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.
Parameters
-RemoveNode
Specifies an array of fully qualified domain names (FQDN) of AD FS farm nodes to remove from the farm information table.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Set-AdfsFarmInformation [-RemoveNode <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
——————Example 1——————
Remove a stale node
PS C:>Set-AdfsFarmInformation -RemoveNode “adfs02.TOSSolution.com”
This command removes the node named adfs02.TOSSolution.com from the farm information table.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Set-AdfsFarmInformation
You can also read about
- Get-AdfsFarmInformation