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>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • 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