Export (0) Print
Expand All

Get-SpacesPool

Published: February 6, 2013

Updated: February 6, 2013

Applies To: Windows 8, Windows Server 2012

Get-SpacesPool

Gets all storage pools on the Storage Spaces subsystem.

Syntax

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




Detailed Description

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

Parameters

-StoragePoolFriendlyName<String>

Specifies the friendly name of the storage pool.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

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

    This cmdlet returns objects representing storage pools


Notes

  • The StorageSpaces module is a downloadable module available for use with Windows Server 2012 and Windows 8. You can download the module from the Script Center.

Examples

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
FriendlyName            OperationalStatus       HealthStatus            IsPrimordial            IsReadOnly
------------ ----------------- ------------ ------------ ----------
Company Data OK Healthy False False
Primordial OK Healthy True False

Example 2 – Get a particular storage pool

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


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft