編集

次の方法で共有


Test-AdfsFarmBehaviorLevelRaise

Tests whether you can raise the behavior level of a farm.

Syntax

AdfsUpgradeServiceAccount (Default)

Test-AdfsFarmBehaviorLevelRaise
    [-Member <String[]>]
    [-Credential <PSCredential>]
    [-ServiceAccountCredential <PSCredential>]
    [-Force]
    [<CommonParameters>]

AdfsUpgradeGmsaAccount

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.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GroupServiceAccountIdentifier

Specifies the ID of a group Managed Service Account.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AdfsUpgradeGmsaAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Member

Specifies an array of members.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ServiceAccountCredential

Specifies credentials for a service account.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AdfsUpgradeServiceAccount
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.