Enable-CauClusterRole
Re-enables the self-updating functionality on the specified cluster.
Syntax
Enable-CauClusterRole
[[-ClusterName] <String>]
[-Credential <PSCredential>]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Enable-CauClusterRole
cmdlet re-enables the self-updating functionality on the specified
cluster. The self-updating functionality of the cluster can be disabled with the
Disable-CauClusterRole
cmdlet.
Examples
Example 1: Enable a CAU clustered role on the specified cluster
Enable-CauClusterRole -ClusterName "CONTOSO-FC1" -Force
This command enables the CAU clustered role on the CONTOSO-FC1 cluster to begin performing Updating Runs. The cmdlet changes the status of the CAU clustered role to Running. Because the command specified the Force parameter, the cmdlet runs without displaying confirmation prompts.
Parameters
-ClusterName
Specifies the name of the cluster on which to enable the self-updating functionality. 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.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
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
Forces the command to run without asking for user confirmation.
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 isn't run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
None
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기