Get-SpacesVolume

Get-SpacesVolume

Gets information about volumes created on storage spaces.

Sintaxis

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

Descripción detallada

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

Parámetros

-Cluster

Specifies that the cmdlet is run on a failover cluster.

Alias

ninguno

¿Requerido?

false

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-SpaceFriendlyName<String>

Specifies the friendly name of the storage space.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

true

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • None

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • System.Object

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

Ejemplos

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