This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-NetAppInfrastructureVolume

Short Description

Returns storage volumes of NetApp storage systems.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

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.

Get-NetAppInfrastructureVolume Tip:

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
Pipeline
Input

Accept
Wildcard
Characters

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,
ByPropertyName

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

Example 1

This command returns volumes of all NetaApp 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.

  1. Run Get-NetAppHost to get the storage system. Save the result to the $storage variable.
  2. Run Get-NetAppInfrastructureVolume with the $storage variable.

$storage = Get-NetAppHost -Name "NetApp Store"

Get-NetAppInfrastructureVolume -Host $storage

Related Commands

Get-NetAppHost