Get-VBRNDMPVolume

Short Description

Returns NDMP server volumes.

Applies to

Product Edition: Enterprise

Requires Cloud Connect license

Syntax

This cmdlet provides the following parameter sets:

  • For getting volumes by the volume name

Get-VBRNDMPVolume [-Name <string[]>]  [<CommonParameters>]

  • For getting volumes by the volume ID

Get-VBRNDMPVolume -Id <guid[]>  [<CommonParameters>]

  • For getting volumes on the specific NDMP server

Get-VBRNDMPVolume -Server <VBRNDMPServer[]>  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of NDMP server volumes.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Id

Specifies an array of volume IDs. The cmdlet will return volumes with these IDs.

NOTE: You an array of volume IDs only after you create the file to tape job.

True

Named

False

False

Server

Specifies an array of NDMP servers. The cmdlet will return volumes located on these NDMP servers.

True

Named

False

False

Name

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

False

Named

False

False

<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 gets volumes of all NDMP servers added to Veeam Backup & Replication.

Get-VBRNDMPVolume

Example 2

This command gets an NDMP server volume by the volume ID.

Get-VBRNDMPVolume -ID "0fccf7c9-1f90-49de-8bec-53a0697e04ab"

Example 3

This command gets an NDMP server volume by the volume name.

Get-VBRNDMPVolume -Name "/svm-cifs/Exhcange_vol"

Example 4

This example shows how to get all volumes on a specific NDMP server.

  1. Run Get-VBRNDMPServer to specify the NDMP server from which you want to get volumes. Save the result to the $server variable.
  2. Run Set-VBRNDMPServer with the $server variable.

$server = Get-VBRNDMPServer -Name "NetApp.local"

Get-VBRNDMPVolume -Server $server

Related Commands

Get-VBRNDMPServer