Get-WssSpacesPool

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

Syntax

Get-WssSpacesPool
   [-ID <String>]
   [<CommonParameters>]

Description

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

Examples

Example 1: Retrieve all storage pools

PS C:\> Get-WssSpacesPool

This command retrieves all storage pools in the system.

Parameters

-ID

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.

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

Inputs

String

Outputs

Microsoft.WindowsServerSolutions.Storage.SpacesPool

This cmdlet generates the storage pool in the system.