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

Type

Required

Position

Accept
Pipeline
Input

Name

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

String[]

False

Named

False

Cluster

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

Accepts the CHpP4kCluster[] object. To get this object, run the Get-HP4Cluster cmdlet.

False

Named

True ByValue,
ByPropertyName

Storage

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

Accepts the CHpP4kGroup object. To get this object, run the Get-HP4Storage cmdlet.

False

Named

True ByValue,
ByPropertyName

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

HP4InfrastructureVolume

Examples

Get-HP4InfrastructureVolumeExample 1. Getting All Volumes in HPE StoreVirtual Storage

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

Get-HP4InfrastructureVolume

Get-HP4InfrastructureVolumeExample 2. Getting HPE StoreVirtual Storage Volumes by Name

This command returns specific HPE StoreVirtual storage volumes.

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

Get-HP4InfrastructureVolumeExample 3. Getting HPE StoreVirtual Storage Volumes by Cluster

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

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

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

Get-HP4InfrastructureVolume -Cluster $cluster

Perform the following steps:

  1. Run the Get-HP4Storage cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
  2. Run the Get-HP4Cluster cmdlet. Set the $storage variable as the Storage parameter value. Specify the Name parameter value. Save the result to the $cluster variable.
  3. Run the Get-HP4InfrastructureVolume cmdlet. Set the $cluster variable as the Cluster parameter value.

Related Commands