Test-CauSetup
Tests whether a cluster is properly set up to apply software updates using Cluster-Aware Updating (CAU).
Syntax
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.
Note: You must run Test-CauSetup with local administrative credentials.
Examples
EXAMPLE 1
PS C:\>Test-CauSetup -ClusterName CONTOSO-FC1
Test-CauSetup completed successfully. To view the results, run the "Get-BpaResult Microsoft/Windows/ClusterAwareUpdating" Windows PowerShell cmdlet.
This example tests whether failover cluster 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 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.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
Specifies the administrative credentials for the target cluster.
Type: | PSCredential |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.ClusterAwareUpdating.CauBpaProgress
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for