Get-SpacesVolume

Gets information about volumes created on storage spaces.

Syntax

Get-SpacesVolume
   [[-SpaceFriendlyName] <String>]
   [-Cluster]

Description

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

Examples

Example 1 - Get 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}

This example gets information about Storage Spaces volumes.

Example 2 - Get information about clustered Storage Spaces volumes

PS C:\>Get-SpacesVolume -Cluster

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.

Example 3 - Get 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}

This example gets information about a specific Storage Spaces volume.

Parameters

-Cluster

Specifies that the cmdlet is run on a failover cluster.

Type:SwitchParameter
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SpaceFriendlyName

Specifies the friendly name of the storage space.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:True

Inputs

None

Outputs

Object

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