Test-CauSetup

Test-CauSetup

Tests whether a cluster is properly set up to apply software updates using Cluster-Aware Updating (CAU).

Syntaxe

Parameter Set: Default
Test-CauSetup [[-ClusterName] <String> ] [[-Credential] <PSCredential> ] [ <CommonParameters>]

Description détaillée

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.

Note: You must run Test-CauSetup with local administrative credentials.

Paramètres

-ClusterName<String>

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

Alias

none

Obligatoire ?

false

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-Credential<PSCredential>

Specifies the administrative credentials for the target cluster.

Alias

none

Obligatoire ?

false

Position ?

2

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

  • None

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • Microsoft.ClusterAwareUpdating.CauBpaProgress

Exemples

EXAMPLE 1

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

PS C:\> Test-CauSetup -ClusterName CONTOSO-FC1

Rubriques connexes

Invoke-BpaModel

Get-BpaResult