Add-ClusterCheckpoint

Add-ClusterCheckpoint

Adds a cryptographic key checkpoint or registry checkpoint for a resource.

Sintaxis

Parameter Set: InputObject
Add-ClusterCheckpoint [[-ResourceName] <String> ] [-Cluster <String> ] [-CryptoCheckpointKey <String> ] [-CryptoCheckpointName <String> ] [-CryptoCheckpointType <String> ] [-InputObject <PSObject> ] [-RegistryCheckpoint <String> ] [ <CommonParameters>]

Descripción detallada

The Add-ClusterCheckpoint cmdlet adds a cryptographic key checkpoint or registry checkpoint for a resource.

Checkpoints help provide failover support for applications that store configuration information locally instead of or in addition to storing information in the cluster configuration database. Applications might store information locally in two ways. One way is to store configuration information in the registry on the local server; another way is to use cryptographic keys on the local server.

Parámetros

-Cluster<String>

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CryptoCheckpointKey<String>

Specifies the key of a cryptographic key checkpoint to add.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CryptoCheckpointName<String>

Specifies the name of a cryptographic key checkpoint to add.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-CryptoCheckpointType<String>

Specifies the type of a cryptographic key checkpoint to add. Options depend on the cryptographic provider.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-InputObject<PSObject>

Specifies the cluster on which to run the cmdlet or the cluster resource for which the checkpoint should be added.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue)

¿Aceptar caracteres comodín?

false

-RegistryCheckpoint<String>

Specifies the name of the registry checkpoint to add.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-ResourceName<String>

Specifies the resource for which a checkpoint should be added.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿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.

  • Microsoft.FailoverClusters.PowerShell.Cluster
  • Microsoft.FailoverClusters.PowerShell.ClusterResource

Salidas

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

  • System.Object

Ejemplos

Example 1

This example adds a registry checkpoint called software\clusname for the resource named cluster name.

PS C:\> Add-ClusterCheckpoint -ResourceName "cluster name" -RegistryCheckpoint "software\clusname"

Example 2

This example adds a cryptographic checkpoint for the resource named Cluster Name.

PS C:\> Get-ClusterResource –Name "Cluster Name" | Add-ClusterCheckpoint -CryptoCheckpointName "Microsoft Base Cryptographic Provider v1.0"  -CryptoCheckpointType 1 -CryptoCheckpointKey "Crypto"

Temas relacionados

Get-ClusterCheckpoint

Get-ClusterResource

Remove-ClusterCheckpoint