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

Get-HP4Cluster

In this article

    Short Description

    Returns HPE StoreVirtual storage clusters.

    Applies to

    Platform: VMware

    Product Edition: Standard, Enterprise, Enterprise Plus

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

    Syntax

    Get-HP4Cluster -Storage <CHpP4Group[]> [-Name <string[]>][<CommonParameters>]

    Related Commands

    Get-HP4Storage

    Detailed Description

    This cmdlet returns HPE StoreVirtual storage clusters.

    You can get the list of all storage clusters in your storage system, or narrow down the output by the cluster name or a specific storage.

    Alias

    Get-VBRHPCluster

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Storage

    Specifies the array of the storages. The cmdlet will return the clusters on these storages.

    False

    Named

    False

    False

    Name

    Specifies the array of storage names. The cmdlet will return the clusters with these names.

    False

    Named

    False

    True

    <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 command returns all clusters in a selected storage.

    1. Run Get-HP4Storage to get the storage and save it to the $storage variable.
    2. Run Get-HP4Cluster with the $storage variable.

    PS C:\PS> $storage = Get-HP4Storage -Name "HPE StoreVirtual VSA"

    PS C:\PS> Get-HP4Cluster -Storage $storage

    Example 2

    This command looks for a cluster by name.

    1. Run Get-HP4Storage to get the storage and save it to the $storage variable.
    2. Run Get-HP4Cluster with the $storage variable. Indicate the cluster name.

    PS C:\PS> $storage = Get-HP4Storage -Name "HPE StoreVirtual VSA"

    PS C:\PS> Get-HP4Cluster -Storage $storage -Name "HPE Cluster 01"