Get-SpacesVolume
Get-SpacesVolume
Gets information about volumes created on storage spaces.
Syntax
Parameter Set: Default
Get-SpacesVolume [[-SpaceFriendlyName] <String> ] [[-Cluster]] [ <CommonParameters>]
Detaillierte Beschreibung
The Get-SpacesVolume cmdlet gets information about volumes created on storage spaces.
Parameter
-Cluster
Specifies that the cmdlet is run on a failover cluster.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
2 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-SpaceFriendlyName<String>
Specifies the friendly name of the storage space.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
true |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
- None
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
System.Object
This cmdlet returns an object that represents information about volumes created on the Storage Spaces subsystem.
Beispiele
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