Get-WssSpacesPool

Get-WssSpacesPool

Retrieves a storage pool, or all storage pools in the system.

Syntax

Parameter Set: Default
Get-WssSpacesPool [-ID <String> ] [ <CommonParameters>]

Detailed Description

The Get-WssSpacesPool cmdlet retrieves a storage pool in , or all storage pools in the system.

Parameters

-ID<String>

Specifies the ID of a storage pool to retrieve. If you do not specify this parameter, the cmdlet returns a list of all storage pools. Each storage pool object includes a unique ID.

Aliases

none

Required?

false

Position?

named

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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

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

Examples

Example 1: Retrieve all storage pools

This command retrieves all storage pools in the system.

PS C:\> Get-WssSpacesPool