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

Add-VBRHvHost

Short Description

Adds Hyper-V hosts to the backup infrastructure.

Applies to

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Add a Hyper-V host using the account user name and password.

Add-VBRHvHost -Name <String> -User <String> -Password <String> [-Description <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

  • Add a Hyper-V host using credentials managed by Veeam Backup & Replication.

Add-VBRHvHost -Name <String> [-Description <String>] -Credentials <CCredentials> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet adds Hyper-V host to the backup infrastructure.

If a Hyper-V host is part of a cluster, add the Hyper-V cluster instead of standalone Hyper-V host.

Run the Add-VBRHvCluster cmdlet to add a Hyper-V cluster.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies the DNS name of the Hyper-V host.

String

True

Named

False

User

Specifies the user name you want to use for authenticating with the Hyper-V host.

String

True

Named

False

Password

Specifies the password you want to use for authenticating with the Hyper-V host.

String

True

Named

False

Description

Specifies the description of the Hyper-V host.

String

False

Named

False

Credentials

Specifies the credentials you want to use for authenticating with the Hyper-V host.

Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet

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

None.

Examples

Add-VBRHvHostExample 1. Adding New Hyper-V Host Using User Name and Password

Add-VBRHvHostExample 2. Adding New Hyper-V Host Using Credentials

Related Commands