Add-VBRKMSServer

Short Description

Adds KMS servers to the Veeam Backup & Replication console.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

Add-VBRKMSServer -CACertificate <X509Certificate2> -ClientCertificate <X509Certificate2> -Name <String> [-Description <String>] [-Port <Int32>]  [<CommonParameters>]

Detailed Description

This cmdlet adds a Key Management System server (KMS server) to the Veeam Backup & Replication console.

For more information on working with KMS servers, see the Key Management System Keys section in the Veeam Backup & Replication User Guide.

Important

Before you run this cmdlet, you must get the certificate either from a file or from the certificates store.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

CACertificate

Specifies the KMS server certificate.

X509Certificate2

True

Named

False

ClientCertificate

Specifies the client certificate issued by the KMS administrator for Veeam Backup & Replication.
Note: The client certificate must contain a private key and be exportable.

X509Certificate2

True

Named

False

Name

Specifies the FQDN, IPv4 or IPv6 address of the KMS server.

String

True

Named

False

Description

Specifies description of the KMS server.

String

False

Named

False

Port

Specifies a port number to connect to the KMS server.

Deafult: 5696.

Int32

False

Named

False

<CommonParameters>

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

Output Object

VBRKMSServer

Examples

Adding KMS Server to Veeam Backup & Replication Console

This command adds the thales.tech.local server to the Veeam Backup & Replication console.

Add-VBRKMSServer -Name "thales.tech.local" -Port 5696 -CACertificate $ClientCertificate -ClientCertificate $ClientCertificate

Page updated 3/8/2024

Page content applies to build 12.1.1.56