Test-AdfsFarmBehaviorLevelRaise
Tests whether you can raise the behavior level of a farm.
Syntax
Test-AdfsFarmBehaviorLevelRaise
[-Member <String[]>]
[-Credential <PSCredential>]
[-ServiceAccountCredential <PSCredential>]
[-Force]
[<CommonParameters>]
Test-AdfsFarmBehaviorLevelRaise
[-Member <String[]>]
[-Credential <PSCredential>]
[-GroupServiceAccountIdentifier <String>]
[-Force]
[<CommonParameters>]
Description
The Test-AdfsFarmBehaviorLevelRaise cmdlet tests whether the Invoke-AdfsFarmBehaviorLevelRaise cmdlet can raise the behavior level of an Active Directory Federation Services (AD FS) farm to enable the new features that are available in later versions of the Windows operating system.
To test raising the behavior level of a farm that uses SQL Server as the policy database, specify the Credential parameter.
Examples
Example 1: Test raising the farm behavior level
PS C:\> Test-AdfsFarmBehaviorLevelRaise
This command tests whether you can raise the farm 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 |
-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 |
-GroupServiceAccountIdentifier
Specifies the ID of a group Managed Service Account.
Type: | String |
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 |
-ServiceAccountCredential
Specifies credentials for a service account.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈