Short Description
Returns the volumes of Universal Storage API integrated systems.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Storage System: IBM Spectrum Virtualize, INFINIDAT InfiniBox, Pure Storage, Huawei
Syntax
Get-StoragePluginVolume [-Name <String[]>] [-Host <CPublicPluginHost[]>] [<CommonParameters>]>] |
Detailed Description
This cmdlet returns the volumes of Universal Storage API integrated systems.
You can get the list of all storage volumes, look for a specific volume name or volumes created on a selected host.
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 | False |
Host | Specifies the array of storage systems. The cmdlet will return the volumes of these storage systems. | False | Named | True (ByValue, | 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
This example shows how to get a selected storage volume.
You will need to perform the following steps:
- Run Get-StoragePluginHost to get the storage. Save the result to the $storage variable.
- Run Get-StoragePluginVolume with the $storage variable.
PS C:\PS> $storage = Get-StoragePluginHost -Name "IBM Spectrum" PS C:\PS> Get-StoraePluginVolume -Name "VOLUME-01" -Host $storage |
Related Commands