Disable-CauClusterRole

Suspends the self-updating functionality on the specified cluster.

Syntax

Disable-CauClusterRole
       [[-ClusterName] <String>]
       [-Credential <PSCredential>]
       [-Force]
       [-Confirm]
       [-WhatIf]

Description

The Disable-CauClusterRole suspends the self-updating functionality on the specified cluster. The self-updating functionality of the cluster can be re-enabled with the Enable-CauClusterRole cmdlet.

Examples

EXAMPLE 1

PS C:\> Disable-CauClusterRole -ClusterName CONTOSO-FC1 -Force

This example prevents the CAU clustered role on the CONTOSO-FC1 cluster from performing Updating Runs. The cmdlet changes the status of the CAU clustered role to Offline. The cmdlet runs without displaying confirmation prompts.

Parameters

-ClusterName

Specifies the name of the cluster on which to disable the self-updating functionality. 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:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies the administrative credentials for the target cluster.

Type:PSCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Runs the cmdlet without prompting for confirmation. By default the cmdlet will ask for confirmation from the user before proceeding.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

None