Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Clear-ClusterDiskReservation

Clear-ClusterDiskReservation

microsoft.failoverclusters.powershell.dll

Synopsis

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

Syntax

Clear-ClusterDiskReservation [-Node] [-Force] [-Disk] [<CommonParameters>]

Detailed Description

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: This cmdlet cannot be run remotely without Credential Security Service Provider (CredSSP) authentication on the server computer.

Parameters

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

Aliases

None

Required?

true

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Force <SwitchParameter>

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

Aliases

None

Required?

false

Position

named

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

-Node <StringCollection>

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

Aliases

None

Required?

false

Position

1

Default value

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

None

Notes

None

Examples

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

Online Version
Clear-ClusterNode
Remove-Cluster