Compartilhar via


Get-ClusterAvailableDisk

Get-ClusterAvailableDisk

Gets information about the disks that can support Failover Clustering and are visible to all nodes, but are not yet part of the set of clustered disks.

Syntax

Parameter Set: InputObject
Get-ClusterAvailableDisk [[-Cluster] <String> ] [-Disk <CimInstance> ] [-InputObject <PSObject> ] [ <CommonParameters>]

Detailed Description

The Get-ClusterAvailableDisk cmdlet gets information about the disks that can support Failover Clustering and are visible to all nodes, but are not yet part of the set of clustered disks.

If a disk is unexpectedly missing from the list of disks that are available for use in the cluster, then make sure that the configuration of the storage allows the operating system on all clustered servers to recognize and mount the disk as needed. The disk must be a basic disk, not a dynamic disk, and should not be exposed to any other servers.

Parameters

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

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Disk<CimInstance>

Specifies the disks on which to enumerate.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the cluster on which to enumerate available shared disks.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.FailoverClusters.PowerShell.Cluster

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.FailoverClusters.PowerShell.ClusterDiskInfo

Examples

Example 1

This example lists the disks that are ready to be added to the cluster.

PS C:\> Get-ClusterAvailableDisk

Example 2

This example adds all disks that are ready to be added to the local cluster.

PS C:\> Get-ClusterAvailableDisk | Add-ClusterDisk

Add-ClusterDisk