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 volume template objects from HPE OneView.Syntax
Description
Get-OVStorageVolumeTemplate retrieves volume templates that have been defined in HPE OneView. Volume templates capture a set of provisioning defaults — storage pool, capacity, provisioning type, sharing state, compression, and deduplication settings — and allow administrators to enforce consistent volume standards across their environment.
Templates can be used with New-OVStorageVolume and New-OVStorageVolumeTemplate. If the appliance has the mandatory template policy enabled (see Set-OVStorageVolumeTemplatePolicy), all new volumes must be created from a template.
Returned objects carry the HPEOneView.Storage.VolumeTemplate type and can be piped to New-OVStorageVolume, Set-OVStorageVolumeTemplate, or Remove-OVStorageVolumeTemplate.
Parameters
Name of the volume template to retrieve. Supports wildcard matching. Aliased as
TemplateName.Filter results to templates that have this label assigned.
Filter by HPE OneView scope. Defaults to
AllResourcesInScope.HPE OneView appliance connection. Defaults to the default connected session. Aliased as
Appliance.Examples
List all volume templates
Get a template by name
Use a template to create a volume
List templates and display their storage pool associations
Get all templates that have a specific label
Output
HPEOneView.Storage.VolumeTemplate
Each object includes the template name, associated storage pool, default capacity, provisioning type, sharing configuration, and compression/deduplication settings.
Related cmdlets
- New-OVStorageVolumeTemplate — see source repository for cmdlet usage
- Set-OVStorageVolumeTemplate — see source repository for cmdlet usage
- Remove-OVStorageVolumeTemplate — see source repository for cmdlet usage
- New-OVStorageVolume
- Get-OVStorageVolumeTemplatePolicy — see source repository for cmdlet usage
- Set-OVStorageVolumeTemplatePolicy — see source repository for cmdlet usage