Restore-AdfsFarmBehaviorLevel is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Restores the farm to a previous behavior level.
Description
The Restore-AdfsFarmBehaviorLevel cmdlet restores an Active Directory Federation Services (AD FS) farm to the behavior level previous to a recent raise.
Parameters
-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.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-FarmBehavior
Specifies the farm behavior.
Required? true
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Force
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Member
Specifies an array of members.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
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
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
Restore-AdfsFarmBehaviorLevel [-Member <String[]>] [-Credential <PSCredential>] -FarmBehavior <Int32> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Restore-AdfsFarmBehaviorLevel
You can also read about
- Invoke-AdfsFarmBehaviorLevelRaise
- Test-AdfsFarmBehaviorLevelRaise
- Test-AdfsFarmBehaviorLevelRestore