Get-HP4Volume
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>] |
Related Commands
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 volumes 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 storages. The cmdlet will return the volumes of these storages. | 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 command looks for all volumes on a selected storage.
- Run Get-HP4Storage to get the storage and save it 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 command looks for all volumes on a selected cluster.
- Run Get-HP4Storage to get the storage and save it 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.
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 command looks for a specific volume on a cluster.
- Run Get-HP4Storage to get the storage and save it 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 command looks for a specific volume on a storage.
- Run Get-HP4Storage to get the storage and save it to the $storage variable.
- Run Get-HP4Volume with the $storage variable.