Short Description
Returns NetApp storage volumes.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Get-NetAppVolume [-Name <String[]>] [-Host <CNaHost[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns NetApp storage volumes.
You can get the list of all storage volumes of your virtual infrastructure or narrow down the output by volume name, or specify a cluster or a storage within which you want to look for the volumes.
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 | 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
This example shows how to get the NetApp storage volume.
You will need to perform the following steps:
- Run Get-NetAppHost to get the storage. Save the result to the $storage variable.
- Run Get-NetAppVolume with the $storage variable.
PS C:\PS> $storage = Get-NetAppHost -Name "NetApp Store" PS C:\PS> Get-NetAppVolume -Name "NetApp Volume 01" -Host $storage |
Related Commands