Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt

Use this file to discover all available pages before exploring further.

Synopsis

Retrieves storage pool objects from one or more storage systems managed by HPE OneView.

Syntax

Get-OVStoragePool
    [-Name <String>]
    [-StorageSystem <Object>]
    [-Managed]
    [-Unmanaged]
    [-Label <String>]
    [-Scope <Object>]
    [-ApplianceConnection <Object>]
    [<CommonParameters>]

Description

Get-OVStoragePool retrieves Common Provisioning Groups (CPGs) or pools from storage systems that have been registered with HPE OneView. Storage pools must be managed before they can be used to provision volumes. You can filter results by pool name, parent storage system, management state (-Managed or -Unmanaged), or resource label. Pass a storage system object from Get-OVStorageSystem via the pipeline or the -StorageSystem parameter to scope results to that system. The returned HPEOneView.Storage.StoragePool objects can be piped to New-OVStorageVolume, Add-OVStoragePool, or Remove-OVStoragePool.

Parameters

Name
String
Name of the storage pool (CPG) to retrieve. Supports wildcard matching. Aliased as pool and PoolName.
StorageSystem
Object
Filters pools to those belonging to the specified storage system. Accepts a storage system name (String) or an HPEOneView.Storage.System object from Get-OVStorageSystem. Accepts pipeline input. Aliased as systemName and system.
Managed
SwitchParameter
Returns only pools that are currently in a managed state in HPE OneView.
Unmanaged
SwitchParameter
Returns only pools that are discovered but not yet managed by HPE OneView.
Label
String
Filter results to resources that have this label assigned.
Scope
Object
Filter by HPE OneView scope. Defaults to AllResourcesInScope.
ApplianceConnection
Object
HPE OneView appliance connection. Defaults to the default connected session. Aliased as Appliance.

Examples

List all storage pools

Get-OVStoragePool

Get a specific pool by name

$StoragePool1 = Get-OVStoragePool -Name FST_CPG1

Get all pools for a storage system

Get-OVStorageSystem -Name HP3Par_1 | Get-OVStoragePool

List only managed pools

Get-OVStoragePool -Managed

Get a pool by name scoped to a specific system

Get-OVStoragePool -Name R1_FC_CPG -StorageSystem HP3Par_2-array.contoso.com

Output

HPEOneView.Storage.StoragePool Each object includes the pool name, storage system, total and free capacity, provisioned capacity, and management state.

Build docs developers (and LLMs) love