Get-VBRNASServer

Short Description

Returns file shares that are added to the Veeam Backup & Replication infrastructure.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get all file shares that are added to the Veeam Backup & Replication infrastructure.

Get-VBRNASServer  [<CommonParameters>]

  • Get file shares by the file shares name.

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

  • Get file shares by the file shares ID.

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

Detailed Description

This cmdlet returns an array of file shares that are added to the Veeam Backup & Replication infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Name

Specifies a name of a file share. The cmdlet will return an array of file shares with the specified name.

String[]

True

Named

False

 

Id

Specifies an ID of a file share. The cmdlet will return an array of file shares with the specified ID.

Guid[]

True

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRNASServer object that contains settings of file shares added to the Veeam Backup & Replication infrastructure.

Examples

Get-VBRNASServerExample 1. Getting All File Shares

This command gets all file shares added to the Veeam Backup & Replication infrastructure. The cmdlet output will contain settings of these file shares.

Get-VBRNASServer

Type                : SMB

Path                : \\WinSRV2049\Documents

AccessCredentials   :

ProcessingMode      : Direct

StorageSnapshotPath :

ProxyMode           : Automatic

SelectedProxyServer : {}

Id                  : 4916c13e-08bf-488f-ab1b-1624d02189c5

CacheRepository     : Veeam.Backup.Core.CBackupRepository

 

Type                : NFS

Path                : \\LinuxSRV2049\Reports

AccessCredentials   :

ProcessingMode      : Direct

StorageSnapshotPath :

ProxyMode           : Automatic

SelectedProxyServer : {}

Id                  : 678eafe4-ad76-4878-8230-561b4226333c

CacheRepository     : Veeam.Backup.Core.CBackupRepository

Get-VBRNASServerExample 2. Getting File Shares by Name

This command gets a file share by the file share name. The cmdlet output will contain settings of these file shares.

Get-VBRNASServer -Name "\\WinSRV2049\Documents"

Type                : SMB

Path                : \\WinSRV2049\Documents

AccessCredentials   :

ProcessingMode      : Direct

StorageSnapshotPath :

ProxyMode           : Automatic

SelectedProxyServer : {}

Id                  : 4916c13e-08bf-488f-ab1b-1624d02189c5

CacheRepository     : Veeam.Backup.Core.CBackupRepository

Get-VBRNASServerExample 3. Getting File Share by ID

This command gets file share by the file share ID. The cmdlet output will contain settings of these file shares.

Get-VBRNASServer -Id "678eafe4-ad76-4878-8230-561b4226333c"

Type                : NFS

Path                : \\LinuxSRV2049\Reports

AccessCredentials   :

ProcessingMode      : Direct

StorageSnapshotPath :

ProxyMode           : Automatic

SelectedProxyServer : {}

Id                  : 678eafe4-ad76-4878-8230-561b4226333c

CacheRepository     : Veeam.Backup.Core.CBackupRepository

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.