This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-HP4InfrastructureVolume

Short Description

Returns volumes of HPE StoreVirtual storage systems.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-HP4InfrastructureVolume [-Name <string[]>] [-Cluster <CHpP4kCluster[]>] [-Storage <CHpP4kGroup>][<CommonParameters>]

Detailed Description

This cmdlet returns an array of volumes of HPE StoreVirtual storage systems. The cmdlet will return storage volumes, even if they are not added to your backup infrastructure.

Get-HP4InfrastructureVolume Tip:

You can use this cmdlet to specify storage volumes that you want to rescan or exclude from the storage rescan.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies an array of volume names. The cmdlet will return the volumes with these names.

False

Named

False

 

Cluster

Specifies an array of clusters. The cmdlet will return the volumes of these clusters.

False

Named

True ByValue,
ByPropertyName

 

Storage

Specifies an array of storage systems. The cmdlet will return the volumes of these storage systems.

False

Named

True ByValue,
ByPropertyName

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

Example 1

This command returns all volumes added to HPE StoreVirtual storage systems.

Get-HP4InfrastructureVolume

Example 2

This command returns specific HPE StoreVirtual storage volumes. Use the Name parameter to specify the names of the volumes.

Get-HP4InfrastructureVolume -Name "Volume1", "Volume2"

Example 3

This example shows how to get the array of all volumes added to the specific HPE StoreVirtual cluster.

  1. Run Get-HP4Storage to get the storage. Save the result to the $storage variable.
  2. Run Get-HP4Cluster with the $storage variable. Save the result to the $cluster variable.
  3. Run Get-HP4InfrastructureVolume with the $cluster variable.

$storage = Get-HP4Storage -Name "HPE StoreVirtual VSA"

$cluster = Get-HP4Cluster -Storage $storage -Name "HPE Cluster 01"

Get-HP4InfrastructureVolume -Cluster $cluster

Related Commands

Get-HP4Storage

Get-HP4Cluster