Get-HP4Volume

Short Description

Returns HPE StoreVirtual volumes added to the backup infrastructure.

Applies to

Platform: VMware

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

Storage System: HPE StoreVirtual (LeftHand/P4000), HPE StoreVirtual VSA

Syntax

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

Detailed Description

This cmdlet returns HPE StoreVirtual volumes added to the backup infrastructure.

Get-HP4Volume Tip:

Run the Get-HP4InfrastructureVolume cmdlet to get an array of volumes from HPE StoreVirtual storage systems.

Alias

Get-VBRHPVolume

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Name

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

String[]

False

Named

False

Cluster

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

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

False

Named

False

Storage

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

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

False

Named

False

<CommonParameters>

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

Examples

Get-HP4VolumeExample 1. Getting All HPE StoreVirtual Volumes

This example shows how to get all HPE StoreVirtual volumes added to the backup infrastructure.

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

Get-HP4Volume -Storage $storage

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-HP4Volume cmdlet. Set the $storage variable as the Storage parameter value.

Get-HP4VolumeExample 2. Getting All HPE StoreVirtual Volumes by Cluster

This example shows how to get all HPE StoreVirtual volumes on a cluster.

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

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

Get-HP4Volume -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-HP4Volume cmdlet. Set the $cluster variable as the Cluster parameter value.

Get-HP4VolumeExample 3. Getting HPE StoreVirtual Volume on Cluster

This example shows how to get an HPE StoreVirtual volume on a cluster.

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

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

Get-HP4Volume -Cluster $cluster -Name "HPE Volume 01"

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-HP4Volume cmdlet. Set the $cluster variable as the Cluster parameter value. Specify the Name parameter value.

Get-HP4VolumeExample 4. Getting Specific HPE StoreVirtual Volume

This example shows how to get HPE StoreVirtual volume added to the backup infrastructure.

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

Get-HP4Volume -Storage $storage -Name "HPE Volume 01"

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-HP4Volume cmdlet. Set the $storage variable as the Storage parameter value. Specify the Name parameter value.

Related Commands

Page updated 2/16/2024

Page content applies to build 12.2.0.334