Test-AdfsFarmBehaviorLevelRestore
Tests whether you can restore an AD FS farm to a previous behavior level.
Syntax
Test-AdfsFarmBehaviorLevelRestore
[-Member <String[]>]
[-Credential <PSCredential>]
-FarmBehavior <Int32>
[-Force]
[<CommonParameters>]
Description
The Test-AdfsFarmBehaviorLevelRestore cmdlet tests whether the Restore-AdfsFarmBehaviorLevel cmdlet can restore an Active Directory Federation Services (AD FS) farm to a previous behavior level.
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.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-FarmBehavior
Specifies the farm behavior.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | True |
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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Member
Specifies an array of members.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈