Add-ClusterCheckpoint

Add-ClusterCheckpoint

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

構文

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

詳細説明

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.

パラメーター

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CryptoCheckpointKey<String>

Specifies the key of a cryptographic key checkpoint to add.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CryptoCheckpointName<String>

Specifies the name of a cryptographic key checkpoint to add.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-CryptoCheckpointType<String>

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InputObject<PSObject>

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByValue)

ワイルドカード文字を許可する

false

-RegistryCheckpoint<String>

Specifies the name of the registry checkpoint to add.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-ResourceName<String>

Specifies the resource for which a checkpoint should be added.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

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

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • System.Object

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"

関連トピック

Get-ClusterCheckpoint

Get-ClusterResource

Remove-ClusterCheckpoint