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

Get-NetAppVolume

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>]

Related Commands

Get-NetAppHost

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

Accept
Wildcard
Characters

Name

Specifies the array of volumes names. The cmdlet will return the volumes with these names.

False

Named

False

False

Host

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

This command looks for the volume named "NetApp Volume 01" in storage "NetApp Store".

  1. Run Get-NetAppHost to get the storage where to volume is located. Save the result to the $netappstore variable.
  2. Run Get-NetAppVolume with the saved variable.

PS C:\PS> $netappstore = Get-NetAppHost -Name "NetApp Store"

PS C:\PS> Get-NetAppVolume -Name "NetApp Volume 01" -Host $netappstore