Get-SpacesVolume
Get-SpacesVolume
Gets information about volumes created on storage spaces.
语法
Parameter Set: Default
Get-SpacesVolume [[-SpaceFriendlyName] <String> ] [[-Cluster]] [ <CommonParameters>]
详细说明
The Get-SpacesVolume cmdlet gets information about volumes created on storage spaces.
参数
-Cluster
Specifies that the cmdlet is run on a failover cluster.
别名 |
无 |
是否为必需? |
false |
位置? |
2 |
默认值 |
无 |
是否接受管道输入? |
false |
是否接受通配符? |
false |
-SpaceFriendlyName<String>
Specifies the friendly name of the storage space.
别名 |
无 |
是否为必需? |
false |
位置? |
1 |
默认值 |
无 |
是否接受管道输入? |
false |
是否接受通配符? |
true |
<CommonParameters>
此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
输入
输入类型是指可通过管道传送给 cmdlet 的对象的类型。
- None
输出
输出类型是 cmdlet 所发出对象的类型。
System.Object
This cmdlet returns an object that represents information about volumes created on the Storage Spaces subsystem.
示例
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