Skip to content

Latest commit

 

History

History
126 lines (93 loc) · 3.25 KB

File metadata and controls

126 lines (93 loc) · 3.25 KB
external help file Module Name ms.date online version schema title
Microsoft.FailoverClusters.PowerShell.dll-Help.xml
FailoverClusters
10/30/2017
2.0.0
Get-ClusterSharedVolume

Get-ClusterSharedVolume

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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

Microsoft.FailoverClusters.PowerShell.Cluster

OUTPUTS

Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

NOTES

RELATED LINKS

Add-ClusterSharedVolume

Move-ClusterSharedVolume

Remove-ClusterSharedVolume