Get-ClusterSharedVolume
Get information about Cluster Shared Volumes in a failover cluster.
Get-ClusterSharedVolume [-InputObject <psobject>] [[-Name] <StringCollection>] [-Cluster <string>] [<CommonParameters>]
InputObject
Name
Cluster
Before you can use Cluster Shared Volumes, you must enable this feature in the cluster.
Specifies the name of the cluster to run this cmdlet on. If you type "-Cluster ." or omit the parameter, the cmdlet runs on the local cluster.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Specifies the cluster to enumerate cluster shared volumes on.
Default Value: **
Data Type: psobject
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
true (ByValue) |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Specifies the name of the cluster shared volume to get.
Default Value: **
Data Type: StringCollection
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
1 |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Command Prompt: C:\PS>
Get-ClusterSharedVolume
Name State Node
---- ----- ----
Cluster Disk 3 Online node1
Cluster Disk 4 Online node2
Description
-----------
This command lists all the Cluster Shared Volumes on the local cluster.
Command Prompt: C:\PS>
Get-ClusterSharedVolume -Cluster cluster1
Name State Node
---- ----- ----
Cluster Disk 1 Online node4
Description
-----------
This command lists all the Cluster Shared Volumes on cluster1.
Command Prompt: C:\PS>
Get-ClusterSharedVolume "Cluster Disk 4"
Name State Node
---- ----- ----
Cluster Disk 4 Online node2
Description
-----------
This command displays the state of the Cluster Shared Volume called Cluster Disk 4.
Add-ClusterSharedVolume
Move-ClusterSharedVolume
Remove-ClusterSharedVolume