Get-HP4Volume

In this article

    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 Get-HP4InfrastructureVolume to get an array of volumes from HPE StoreVirtual storage systems.

    Alias

    Get-VBRHPVolume

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

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

    False

    Named

    False

    True

    Cluster

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

    False

    Named

    False

    False

    Storage

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

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Example 1

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

    1. Run Get-HP4Storage to get the storage system. Save the result to the $storage variable.
    2. Run Get-HP4Volume with the $storage variable.

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

    Get-HP4Volume -Storage $storage

    Example 2

    This example shows how to get all an HPE StoreVirtual volumes on a 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-HP4Volume with the $cluster variable.

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

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

    Get-HP4Volume -Cluster $cluster

    Example 3

    This example shows how to get an HPE StoreVirtual volume on a 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 cluster to the $cluster variable.
    3. Run Get-HP4Volume with the $cluster variable. Use the Name parameter to specify the volume name.

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

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

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

    Example 4

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

    1. Run Get-HP4Storage to get the storage. Save the result to the $storage variable.
    2. Run Get-HP4Volume with the $storage variable. Use the Name parameter to specify the volume name.

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

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

    Related Commands

    Get-HP4Storage

    Get-HP4Cluster