Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-ClusterSharedVolume

Last Updated: 3/28/2017

SYNOPSIS

Gets information about Cluster Shared Volumes in a failover cluster.

SYNTAX

Get-ClusterSharedVolume [[-Name] <StringCollection>] [-InputObject <PSObject>] [-Cluster <String>]
 [<CommonParameters>]

DESCRIPTION

The Get-ClusterSharedVolume cmdlet gets information about Cluster Shared Volumes in a failover cluster.

EXAMPLES

Example 1

PS C:\> Get-ClusterSharedVolume
Name                       State                      Node 
----                       -----                      ---- 
Cluster Disk 3             Online                     node1 
Cluster Disk 4             Online                     node2

This example lists all the Cluster Shared Volumes on the local cluster.

Example 2

PS C:\> Get-ClusterSharedVolume -Cluster cluster1
Name                       State                      Node 
----                       -----                      ---- 
Cluster Disk 1             Online                     node4

This example lists all the Cluster Shared Volumes on the cluster named cluster1.

Example 3

PS C:\> Get-ClusterSharedVolume -Name "Cluster Disk 4"
Name                       State                      Node 
----                       -----                      ---- 
Cluster Disk 4             Online                     node2

This example displays the state of the Cluster Shared Volume called Cluster Disk 4.

PARAMETERS

-Cluster

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.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Specifies the cluster on which to enumerate the Cluster Shared Volumes.

Type: PSObject
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

Specifies the name of the Cluster Shared Volume to get.

Type: StringCollection
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.FailoverClusters.PowerShell.Cluster

OUTPUTS

Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

NOTES

Add-ClusterSharedVolume

Move-ClusterSharedVolume

Remove-ClusterSharedVolume

© 2017 Microsoft