Export (0) Print
Expand All

Get-SpacesVolume

Windows Server 2012 R2 and Windows 8.1

Get-SpacesVolume

Gets information about volumes created on storage spaces.

Syntax

Parameter Set: Default
Get-SpacesVolume [[-SpaceFriendlyName] <String> ] [[-Cluster]] [ <CommonParameters>]




Detailed Description

The Get-SpacesVolume cmdlet gets information about volumes created on storage spaces.

Parameters

-Cluster

Specifies that the cmdlet is run on a failover cluster.


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SpaceFriendlyName<String>

Specifies the friendly name of the storage space.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

true

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

  • None

Outputs

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

  • System.Object

    This cmdlet returns an object that represents information about volumes created on the Storage Spaces subsystem.


Examples

Example 1 – Get information about Storage Spaces volumes

This example gets information about Storage Spaces volumes.


PS C:\> Get-SpacesVolume

Example 2 – Get information about clustered Storage Spaces volumes

This example gets a list of all storage spaces across all storage pools on the failover cluster that local machine belongs to. When run on a clustered storage pool, information about the corresponding failover cluster resources are also displayed, as well as the current node owner.


PS C:\> Get-SpacesVolume -Cluster

Example 3 – Get information about a specific Storage Spaces volume

This example gets information about a specific Storage Spaces volume.


PS C:\> Get-SpacesVolume -SpaceFriendlyName Data

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft