Export (0) Print
Expand All
Expand Minimize

Get-ClusterSharedVolumeState

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-ClusterSharedVolumeState

Gets the state of Cluster Shared Volumes in a cluster.

Syntax

Parameter Set: InputObject
Get-ClusterSharedVolumeState [[-Name] <StringCollection> ] [-Cluster <String> ] [-InputObject <PSObject> ] [-Node <StringCollection> ] [ <CommonParameters>]




Detailed Description

The Get-ClusterSharedVolumeState cmdlet gets the state of Cluster Shared Volumes in a cluster.

Parameters

-Cluster<String>

Specifies the name of the cluster on which to run this cmdlet. If you specify a period (.) or do not specify this parameter, the cmdlet runs on the local cluster.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Name<StringCollection>

Specifies the names, as a collection of strings, of the Cluster Shared Volumes for which to get state information.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Node<StringCollection>

Specifies the names, as a collection of strings, of the cluster nodes for which to get the state of Cluster Shared Volumes.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

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

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.FailoverClusters.PowerShell.Cluster, Microsoft.FailoverClusters.PowerShell.ClusterNode, Microsoft.FailoverClusters.PowerShell.ClusterSharedVolume

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

 

This command gets the state of Cluster Shared Volumes on the local cluster.


PS C:\> Get-ClusterSharedVolumeState
Name                : Cluster Disk X 
VolumeName : \\?\Volume{2297f079-53c2-41e9-94d1-483d61ea94d7}\
Node : ClusterNode1
State : Direct

VolumeFriendlyName : Volume1
RedirectedIOReason : NotRedirected

Name : Cluster Disk Y
VolumeName : \\?\Volume{0312ef48-74c7-4a4d-946e-4bb4a397ad1f}\
Node : ClusterNode2
State : File System Redirected

VolumeFriendlyName : Volume2
RedirectedIOReason : UserRequest

Name : Cluster Disk Z
VolumeName : \\?\Volume{c4689cef-83e3-4f47-9eaf-161a9e31c5a0}\
Node : ClusterNode3
State : Block Redirected
VolumeFriendlyName : Volume3
RedirectedIOReason : NoDiskConnectivity

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft