Set-AdfsFarmInformation

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

Get-Command Set-AdfsFarmInformation powershell script command cmdlet adfs

You can also read about

  • Get-AdfsFarmInformation

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *