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

Get-VBRServer

Short Description

Returns hosts connected to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Get-VBRServer [-Type <CDBHost+EType>] [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet returns hosts connected to Veeam Backup & Replication. You can get the following servers:

  • BackupServer
  • VC
  • ESX
  • ESXi
  • VcdSystem
  • Scvmm
  • HvServer
  • HvCluster
  • SmbCluster
  • SmbServer
  • Windows
  • Linux
  • Cloud
  • Local
  • SanHost

You can get the list of all hosts or narrow down the output to servers of specific type, or search for instances directly by name.

Run Find-VBRViEntity or Find-VBRHvEntity to look for VMware or Hyper-V VMs or other virtual objects registered on these hosts.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Type

Specifies the host type. The cmdlet will return hosts of this type.

False

Named

False

False

Name

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

False

Named

False

True

<CommonParameters>

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

Example 1

This command looks for the server named "Active_Directory".

Get-VBRServer -Name "Active_Directory"

Example 2

This command looks for the VM named "Hv_DNS" registered on a Hyper-V server.

Get-VBRServer -Type HvServer -Name "Hv_DNS"