次の方法で共有


Get-SpacesPool

Get-SpacesPool

Gets all storage pools on the Storage Spaces subsystem.

構文

Parameter Set: Default
Get-SpacesPool [[-StoragePoolFriendlyName] <String> ] [ <CommonParameters>]

詳細説明

The Get-SpacesPool cmdlet gets all StoragePool objects on the Storage Spaces subsystem.

パラメーター

-StoragePoolFriendlyName<String>

Specifies the friendly name of the storage pool.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

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

入力

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

  • None

出力

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

  • Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StoragePool

    This cmdlet returns objects representing storage pools

Example 1 – Get all storage pools on the Storage Spaces subsystem

This example gets all storage pools for the Storage Spaces provider.

PS C:\> Get-SpacesPool

Example 2 – Get a particular storage pool

This example gets the storage pool named "Music Pool".

PS C:\> Get-SpacesPool -StoragePoolFriendlyName "Music Pool"