Restore-AdfsFarmBehaviorLevel

Restores the farm to a previous behavior level.

Syntax

Restore-AdfsFarmBehaviorLevel
       [-Confirm]
       [-Credential <PSCredential>]
       -FarmBehavior <Int32>
       [-Force]
       [-Member <String[]>]
       [-WhatIf]
       [<CommonParameters>]

Description

The Restore-AdfsFarmBehaviorLevel cmdlet restores an Active Directory Federation Services (AD FS) farm to the behavior level previous to a recent raise.

Required Parameters

-FarmBehavior

Specifies the farm behavior.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Specifies credentials necessary to run this cmdlet for an AD FS farm that uses SQL Server as the policy database. The credentials provided must be an administrator on each AD FS server. To obtain a PSCredential object, use the Get-Credential cmdlet.

Type:PSCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Member

Specifies an array of members.

Type:String[]
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False