Get-VBRServer

Short Description

Returns hosts connected to the backup infrastructure.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VBRServer [-Name <String[]>] [-Type <EType>] [<CommonParameters>]

Detailed Description

This cmdlet returns hosts connected to the backup infrastructure. You can get the following servers:

  • BackupServer
  • VC
  • ESXi
  • VcdSystem
  • Scvmm
  • HvServer
  • HvCluster
  • SmbCluster
  • SmbServer
  • Windows
  • Linux
  • Cloud
  • Local
  • SanHost
  • Object storage repositories
  • Object storage servers
  • Microsoft Entra ID tenant

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.

To get VMware objects run the Find-VBRViEntity cmdlet.

To get Hyper-V objects run the Find-VBRHvEntity cmdlet.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Type

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

  • ESX
  • VC
  • Linux
  • Local
  • Windows
  • ESXi
  • HvServer
  • HvCluster
  • Scvmm
  • BackupServer
  • SanHost
  • SmbServer
  • SmbCluster
  • VcdSystem
  • Cloud
  • AzureWinServer
  • VmSnapshotStorageHost
  • ConfigurationService
  • ExternalInfrastructureProxy
  • NdmpServer
  • ExternalInfrastructureServer
  • CifsShare
  • NfsShare
  • SanCifsServer
  • SanNfsServer
  • CifsServer
  • NfsServer
  • CifsServerShare
  • NfsServerShare
  • S3CompatibleServer
  • S3CompatibleBucket
  • AmazonS3Server
  • AmazonS3Bucket
  • AzureBlobServer
  • AzureBlobContainer
  • GoogleStorageServer
  • GoogleStorageBucket
  • AzureDataLakeServer
  • AzureDataLakeContainer
  • AzureEntraIdTenant

Etype

False

Named

False

Name

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

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the CHost object that contains settings of hosts connected to Veeam Backup & Replication.

Examples

Get-VBRServerExample 1. Looking for Server by Name

This command looks for the server named Active_Directory.

Get-VBRServer -Name "Active_Directory"

Get-VBRServerExample 2. Looking for VM Registered on Hyper-V Server

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

Get-VBRServer -Type "HvServer" -Name "Hv_DNS"

Page updated 11/13/2024

Page content applies to build 12.3.0.310