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.

Sintaxis

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

Descripción detallada

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.

Parámetros

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

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Disk<CimInstance>

Specifies the disks on which to enumerate.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

-InputObject<PSObject>

Specifies the cluster on which to enumerate available shared disks.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue)

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • Microsoft.FailoverClusters.PowerShell.Cluster

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.FailoverClusters.PowerShell.ClusterDiskInfo

Ejemplos

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

Temas relacionados

Add-ClusterDisk