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
This cmdlet returns objects representing storage pools
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for