Add-ClusterCheckpoint

Add-ClusterCheckpoint

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

Syntaxe

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

Description détaillée

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.

Paramètres

-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

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-CryptoCheckpointKey<String>

Specifies the key of a cryptographic key checkpoint to add.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-CryptoCheckpointName<String>

Specifies the name of a cryptographic key checkpoint to add.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-CryptoCheckpointType<String>

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

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-InputObject<PSObject>

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

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

true (ByValue)

Accepter les caractères génériques ?

false

-RegistryCheckpoint<String>

Specifies the name of the registry checkpoint to add.

Alias

none

Requis ?

false

Position ?

named

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-ResourceName<String>

Specifies the resource for which a checkpoint should be added.

Alias

none

Requis ?

false

Position ?

1

Valeur par défaut

none

Accepter l'entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez  . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.

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

Sorties

Le type de sortie correspond au type des objets que l'applet de commande émet.

  • System.Object

Exemples

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"

Rubriques connexes

Get-ClusterCheckpoint

Get-ClusterResource

Remove-ClusterCheckpoint