Set-VBRKMSServer
Short Description
Modifies settings of KMS servers.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRKMSServer -Server <VBRKMSServer> [-Description <String>] [-Port <Int32>] [-CACertificate <X509Certificate2>] [-ClientCertificate <X509Certificate2>] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of Key Management System servers (KMS server) added to the Veeam Backup & Replication console.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CACertificate |
Specifies the KMS server certificate. |
|
False |
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. |
|
False |
Named |
False |
|
Description |
Specifies description of the KMS server. |
|
False |
Named |
False |
|
Port |
Specifies a port number to connect to the KMS server.
Default: |
|
False |
Named |
False |
|
Server |
Specifies a KMS server which settings you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Modifying KMS Server Settings
This example shows how to modify the port number for the KMS server added to the Veeam Backup & Replication console.
|
$server = Get-VBRKMSServer -Id "8f723f68-82c6-430d-8915-58a0582440a4" Set-VBRKMSServer -Server $server -Port 5696 |
Perform the following steps:
- Run the
Get-VBRKMSServerReturns KMS servers added to the Veeam Backup & Replication console. cmdlet. Specify theIdparameter values. Save the result to the$servervariable. - Run the
Set-VBRKMSServercmdlet. Set the$servervariable as theServerparameter value. Specify thePortparameter value.
Related Commands
Get-VBRKMSServerReturns KMS servers added to the Veeam Backup & Replication console.