Gets the list of cluster disks.
Syntax
Get-EmcClusterDisk [[-ID] <String>] [-ClusterSystem <IWindowsFailoverClusterSystem>] [-ClusterGroupName <String>] [-Silent] [<CommonParameters>]
Get-EmcClusterDisk [[-ID] <String>] [-ClusterSystem <IWindowsFailoverClusterSystem>] [-Silent] [-ClusterSharedVolume] [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the cluster disk resource name. Wildcards are permitted. It is a positional parameter (position = 1).
-ClusterSystem <IWindowsFailoverClusterSystem>
Attributes: Optional, Position: named
Specifies the ESI cluster system object. You can add a cluster system object to ESI by using the Get-EmcClusterSystemCredential and Connect-EmcSystem cmdlets. You can get a cluster system object by using the Get-EmcClusterSystem cmdlet.
-ClusterGroupName <String>
Attributes: Optional, Position: named
Specifies the cluster group name to filter the cluster disks based on the group name.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-ClusterSharedVolume <SwitchParameter>
Attributes: Optional, Position: named
Allows the cmdlet to cluster shared volume disks.
<CommonParameters>
This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.
Examples
-------------- Example 1 --------------
C:\PS>Get-EmcClusterDisk
C:\PS>Get-EmcClusterDisk -ClusterSharedVolume
C:\PS>Get-EmcClusterDisk -ClusterGroupName "Available Storage"
This example gets the cluster disks from all the connected cluster systems.
-------------- Example 2 --------------
C:\PS>Get-EmcClusterSystem | Get-EmcClusterDisk
C:\PS>Get-EmcClusterSystem | Get-EmcClusterDisk -ClusterSharedVolume
C:\PS>Get-EmcClusterSystem | Get-EmcClusterDisk -ClusterGroupName "Available Storage"
This example gets the cluster disks from the cluster system.
-------------- Example 3 --------------
C:\PS>Get-EmcClusterSystem | Get-EmcClusterDisk "Cluster Disk*"
C:\PS>Get-EmcClusterSystem | Get-EmcClusterDisk -id "Cluster Disk*"
C:\PS>Get-EmcClusterSystem | Get-EmcClusterDisk "Cluster Disk 96056475"
This example gets the cluster disks based on cluster disk resource name. Because the ID parameter is positional, you can omit the name.