Enable-CauClusterRole

Enable-CauClusterRole

Re-enables the self-updating functionality on the specified cluster.

Sintaxis

Parameter Set: Default
Enable-CauClusterRole [[-ClusterName] <String> ] [-Credential <PSCredential> ] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

The Enable-CauClusterRole 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.

Parámetros

-ClusterName<String>

Specifies the name of the cluster on which to enable 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.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Credential<PSCredential>

Specifies the administrative credentials for the target cluster.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Force

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

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • None

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • None

Ejemplos

EXAMPLE 1

This example 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. The cmdlet runs without displaying confirmation prompts.

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

Temas relacionados

Add-CauClusterRole

Disable-CauClusterRole

Get-CauClusterRole

Remove-CauClusterRole

Set-CauClusterRole