Test-AdfsFarmBehaviorLevelRaise
Test-AdfsFarmBehaviorLevelRaise is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Tests whether you can raise the behavior level of a farm.
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.
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
-Force <SwitchParameter>
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
-GroupServiceAccountIdentifier <String>
Specifies the ID of a group Managed Service Account.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Member <String[]>
Specifies an array of members.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ServiceAccountCredential <PSCredential>
Specifies credentials for a service account.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Test-AdfsFarmBehaviorLevelRaise [-Member <String[]>] [-Credential <PSCredential>] [-ServiceAccountCredential <PSCredential>] [-Force] [<CommonParameters>]
Test-AdfsFarmBehaviorLevelRaise [-Member <String[]>] [-Credential <PSCredential>] [-GroupServiceAccountIdentifier <String>] [-Force] [<CommonParameters>]
————————Example 1————————
Test raising the farm behavior level
PS C:>Test-AdfsFarmBehaviorLevelRaise
This command tests whether you can raise the farm behavior level.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Test-AdfsFarmBehaviorLevelRaise
- Invoke-AdfsFarmBehaviorLevelRaise
- Restore-AdfsFarmBehaviorLevel
- Test-AdfsFarmBehaviorLevelRestore