Editar

Compartilhar via


Test-CauSetup

Tests whether a cluster is properly set up to apply software updates using CAU.

Syntax

Default (Default)

Test-CauSetup
    [[-ClusterName] <String>]
    [[-Credential] <PSCredential>]
    [<CommonParameters>]

Description

The Test-CauSetup cmdlet tests whether a failover cluster is properly set up to apply software updates using Cluster-Aware Updating (CAU). The cmdlet performs a Best Practices Analyzer (BPA) scan of the failover cluster and network environment by invoking the ClusterAwareUpdating BPA model that is installed with CAU. To view the results of a BPA scan that is performed by Test-CauSetup, including possible problems and resolution steps, run the Get-BpaResult cmdlet.

You must run the Test-CauSetup cmdlet with local administrative credentials.

Examples

Example 1: Test whether the specified failover cluster is set up for CAU

Test-CauSetup -ClusterName "CONTOSO-FC1"

This example tests whether the failover cluster named CONTOSO-FC1 is properly set up for CAU.

Parameters

-ClusterName

Specifies the name of the cluster on which to test for proper setup. This parameter is only required when this cmdlet isn't run on a failover cluster node, or this cmdlet is used to reference a failover cluster different from where the cmdlet is run.

Parameter properties

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

Parameter sets

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

-Credential

Specifies the administrative credentials for the target cluster.

Parameter properties

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

Parameter sets

(All)
Position:1
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.

Inputs

None

Outputs

Microsoft.ClusterAwareUpdating.CauBpaProgress