Export (0) Print
Expand All

Get-SpacesVolume

Windows Server 2012 R2 and Windows 8.1

Updated: July 8, 2013

Applies To: Windows Server 2012 R2 Preview

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.

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
OperationalStatus         : OK
HealthStatus : Healthy
DiskUniqueID : 5BC0854984DDE111BE73F46D0439C015
DriveLetter : B
VolumeSize : 318766030848
SizeRemaining : 318377242624
VolumeObjectID : \\?\Volume{4985c062-dd84-11e1-be73-f46d0439c015}\
FileSystem : NTFS
BackingPhysicalDisks : {ASMT 2105 USB Device, ASMT 2105 USB Device}
PoolFriendlyName : USB
SpaceFriendlyName : Backup
StorageSpaceUniqueID : 5BC0854984DDE111BE73F46D0439C015
IsManualAttach : False
DetachedReason : None
SpaceUsageAlertPercentage : {70}

OperationalStatus : OK
HealthStatus : Healthy
DiskUniqueID : EBB5E72780C7E1119CC4F46D0439C015
DriveLetter : S
VolumeSize : 1374254243840
SizeRemaining : 691400519680
VolumeObjectID : \\?\Volume{27e7b5f2-c780-11e1-9cc4-f46d0439c015}\
FileSystem : NTFS
BackingPhysicalDisks : {Seagate ST750LX003-1AC15 SCSI Disk Device, Seagate ST750LX003-1AC15 SCSI Disk Device,
Seagate ST750LX003-1AC15 SCSI Disk Device, Seagate ST750LX003-1AC15 SCSI Disk Device}
PoolFriendlyName : Internal
SpaceFriendlyName : Data
StorageSpaceUniqueID : EBB5E72780C7E1119CC4F46D0439C015
IsManualAttach : False
DetachedReason : None
SpaceUsageAlertPercentage : {70}

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
OperationalStatus         : OK
HealthStatus : Healthy
DiskUniqueID : EBB5E72780C7E1119CC4F46D0439C015
DriveLetter : S
VolumeSize : 1374254243840
SizeRemaining : 691400519680
VolumeObjectID : \\?\Volume{27e7b5f2-c780-11e1-9cc4-f46d0439c015}\
FileSystem : NTFS
BackingPhysicalDisks : {Seagate ST750LX003-1AC15 SCSI Disk Device, Seagate ST750LX003-1AC15 SCSI Disk Device,
Seagate ST750LX003-1AC15 SCSI Disk Device, Seagate ST750LX003-1AC15 SCSI Disk Device}
PoolFriendlyName : Internal
SpaceFriendlyName : Data
StorageSpaceUniqueID : EBB5E72780C7E1119CC4F46D0439C015
IsManualAttach : False
DetachedReason : None
SpaceUsageAlertPercentage : {70}

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