編輯

共用方式為


Get-ClusterCheckpoint

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

Syntax

Get-ClusterCheckpoint
   [[-ResourceName] <StringCollection>]
   [-CheckpointName <String>]
   [-RegistryCheckpoint]
   [-CryptoCheckpoint]
   [-InputObject <PSObject>]
   [-Cluster <String>]
   [<CommonParameters>]

Description

The Get-ClusterCheckpoint cmdlet retrieves 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.

Examples

Example 1

Get-ClusterCheckpoint

This example retrieves all cluster checkpoints.

Example 2

Get-ClusterResource -ResourceName "Cluster Name" | Get-ClusterCheckpoint -CryptoCheckpoint

This example retrieves the cryptographic checkpoints for the resource named Cluster Name.

Parameters

-CheckpointName

Specifies the name of checkpoints for which to search. Use of wildcard expressions is accepted.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Cluster

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CryptoCheckpoint

Specifies that cryptographic checkpoints will be retrieved.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies the cluster on which to run the cmdlet or the cluster resource for which to retrieve the checkpoint.

Type:PSObject
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-RegistryCheckpoint

Specifies that registry checkpoints will be retrieved.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceName

Specifies the resource for which to retrieve the checkpoint.

Type:StringCollection
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.FailoverClusters.PowerShell.Cluster

Microsoft.FailoverClusters.PowerShell.ClusterResource

Outputs

Object