Get-SpacesVolume
Get-SpacesVolume
Gets information about volumes created on storage spaces.
Sintassi
Parameter Set: Default
Get-SpacesVolume [[-SpaceFriendlyName] <String> ] [[-Cluster]] [ <CommonParameters>]
Descrizione dettagliata
The Get-SpacesVolume cmdlet gets information about volumes created on storage spaces.
Parametri
-Cluster
Specifies that the cmdlet is run on a failover cluster.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
2 |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-SpaceFriendlyName<String>
Specifies the friendly name of the storage space.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
1 |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
true |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
- None
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
System.Object
This cmdlet returns an object that represents information about volumes created on the Storage Spaces subsystem.
Esempi
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