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.
Syntaxe
Parameter Set: InputObject
Get-ClusterAvailableDisk [[-Cluster] <String> ] [-Disk <CimInstance> ] [-InputObject <PSObject> ] [ <CommonParameters>]
Description détaillée
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.
Paramètres
-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 |
none |
Requis ? |
false |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Disk<CimInstance>
Specifies the disks on which to enumerate.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
-InputObject<PSObject>
Specifies the cluster on which to enumerate available shared disks.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
True (ByValue) |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.
- Microsoft.FailoverClusters.PowerShell.Cluster
Sorties
Le type de sortie correspond au type des objets que l'applet de commande émet.
- Microsoft.FailoverClusters.PowerShell.ClusterDiskInfo
Exemples
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