Short Description
Returns HPE StoreVirtual storage volumes.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Storage System: HPE StoreVirtual (LeftHand/P4000), HPE StoreVirtual VSA
Syntax
Get-HP4Volume [-Name <string[]>] [<CommonParameters>] -OR- Get-HP4Volume -Cluster <CHpP4kCluster[]> [-Name <string[]>] [<CommonParameters>] -OR- Get-HP4Volume -Storage <CHpP4Group[]> [-Name <string[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns HPE StoreVirtual storage volumes.
You can get the list of all storage volumes in your storage system, narrow down the output by the volume name, or specify a cluster or a storage within which you want to look for the volumes.
Alias
Get-VBRHPVolume
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the array of volume names. The cmdlet will return the volumes with these names. | False | Named | False | True |
Cluster | Specifies the array of clusters. The cmdlet will return the volumes of these clusters. | False | Named | False | False |
Storage | Specifies the array of storage systems. The cmdlet will return the 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 volumes on the HPE StoreVirtual storage.
You will need to perform the following steps:
- Run Get-HP4Storage to get the storage. Save the result to the $storage variable.
- Run Get-HP4Volume with the $storage variable.
PS C:\PS> $storage = Get-HP4Storage -Name "HPE StoreVirtual VSA" PS C:\PS> Get-HP4Volume -Storage $storage |
Example 2
This example shows how to get all volumes on the HPE StoreVirtual cluster.
You will need to perform the following steps:
- Run Get-HP4Storage to get the storage. Save the result to the $storage variable.
- Run Get-HP4Cluster with the $storage variable. Save the result to the $cluster variable.
- Run Get-HP4Volume with the $cluster variable.
PS C:\PS> $storage = Get-HP4Storage -Name "HPE StoreVirtual VSA" PS C:\PS> $cluster = Get-HP4Cluster -Storage $storage -Name "HPE Cluster 01" PS C:\PS> Get-HP4Volume -Cluster $cluster |
Example 3
This example shows how to get a specific volume on a cluster.
You will need to perform the following steps:
- Run Get-HP4Storage to get the storage. Save the result to the $storage variable.
- Run Get-HP4Cluster with the $storage variable. Save the cluster to the $cluster variable.
- Run Get-HP4Volume with the $cluster variable. Indicate the volume name.
PS C:\PS> $storage = Get-HP4Storage -Name "HPE StoreVirtual VSA" PS C:\PS> $cluster = Get-HP4Cluster -Storage $storage -Name "HPE Cluster 01" PS C:\PS> Get-HP4Volume -Cluster $cluster -Name "HPE Volume 01" |
Example 4
This example shows how to get a specific volume on a storage.
You will need to perform the following steps:
- Run Get-HP4Storage to get the storage. Save the result to the $storage variable.
- Run Get-HP4Volume with the $storage variable.
PS C:\PS> $storage = Get-HP4Storage -Name "HPE StoreVirtual VSA" PS C:\PS> Get-HP4Volume -Storage $storage -Name "HPE Volume 01" |
Related Commands