Get-SpacesPool

Gets all storage pools on the Storage Spaces subsystem.

Syntax

Get-SpacesPool
   [[-StoragePoolFriendlyName] <String>]

Description

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

Examples

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

PS C:\>Get-SpacesPool
FriendlyName            OperationalStatus       HealthStatus            IsPrimordial            IsReadOnly

------------            -----------------       ------------            ------------            ----------

Company Data            OK                      Healthy                 False                   False

Primordial              OK                      Healthy                 True                    False

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

Example 2 - Get a particular storage pool

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

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

Parameters

-StoragePoolFriendlyName

Specifies the friendly name of the storage pool.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

CimInstance

This cmdlet returns objects representing storage pools