Clear-ClusterDiskReservation

Clear-ClusterDiskReservation

Clears the persistent reservation on a disk in a failover cluster.

構文

Parameter Set: Default
Clear-ClusterDiskReservation [[-Node] <StringCollection> ] -Disk <UInt32[]> [-Force] [ <CommonParameters>]

詳細説明

The Clear-ClusterDiskReservation cmdlet clears the persistent reservation on a disk in a failover cluster. This cmdlet prompts for confirmation unless you specify the Force parameter.

Note:このコマンドレットは、サーバー コンピューターに Credential Security Service Provider (CredSSP) 認証がない場合、リモートで実行できません。

パラメーター

-Disk<UInt32[]>

Specifies the disk number on which to clear the persistent reservations. This is the disk number as it appears in Disk Management on the node.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

false

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

false

-Force

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-Node<StringCollection>

Specifies the name of the cluster node on which to clear the disk reservation.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

  • None

出力

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

  • None

Example 1

This example clears the persistent reservation on Disk 5 on the local node after asking for user confirmation.

PS C:\> Clear-ClusterDiskReservation -Disk 5

Example 2

This example clears the persistent reservation on Disk 6 on the node named node2 without asking for user confirmation.

C:\PS>Clear-ClusterDiskReservation -Disk 6 -Node node2 -Force

関連トピック

Clear-ClusterNode

Remove-Cluster