Get-NetAppInfrastructureVolume
Short Description
Returns storage volumes of NetApp storage systems.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-NetAppInfrastructureVolume [-Name <string[]>] [-Host <CNaHost>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of volumes of NetApp storage systems. The cmdlet will return storage volumes, even if they are not added to your backup infrastructure.
|
You can use this cmdlet to specify storage volumes that you want to rescan or exclude from the storage rescan. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Name | Specifies an array of volume names. The cmdlet will return volumes with these names. | False | Named | False |
|
Host | Specifies a storage system. The cmdlet will return volumes of this storage system. | False | Named | True ByValue, |
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This command returns volumes of all NetApp storage systems.
Get-NetAppInfrastructureVolume |
Example 2
This command returns NetApp storage volumes by the volume name.
Get-NetAppInfrastructureVolume -Name "ISCSI Volume4", "ISCSI Volume5", "NFS Volume1" |
Example 3
This example shows how to get all volumes of the specified NetApp storage system.
- Run Get-NetAppHost to get the storage system. Save the result to the $storage variable.
- Run Get-NetAppInfrastructureVolume with the $storage variable.
$storage = Get-NetAppHost -Name "NetApp Store" Get-NetAppInfrastructureVolume -Host $storage |
Related Commands