--- title: "Remove-VBRKMSServer" description: "This cmdlet removes a KMS server from the Veeam Backup & Replication console." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/remove-vbrkmsserver.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Working with KMS Servers > Remove-VBRKMSServer" dateModified: "2026-08-19" --- # Remove-VBRKMSServer ## Short Description Removes KMS servers from the Veeam Backup & Replication console. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Remove-VBRKMSServer -Server [-WhatIf] [-Confirm] [] ``` ## Detailed Description This cmdlet removes a KMS server from the Veeam Backup & Replication console. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Server

Specifies a KMS server that you want to remove.

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

VBRKMSServer

True

Named

True (ByPropertyName, ByValue)

Confirm

Defines that the cmdlet will display a prompt that asks if you want to continue running the command.

Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false.

SwitchParameter

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.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Removing KMS Server From Veeam Backup & Replication Console This example shows how to remove the `8f723f68-82c6-430d-8915-58a0582440a4` KMS server from the Veeam Backup & Replication console. ``` $server = Get-VBRKMSServer -Id "8f723f68-82c6-430d-8915-58a0582440a4" Remove-VBRKMSServer -Server $server -Port 5696 ``` Perform the following steps: 1. Run the [`Get-VBRKMSServer`](get-vbrkmsserver.md) cmdlet. Specify the `Id` parameter values. Save the result to the `$server` variable. 2. Run the `Remove-VBRKMSServer` cmdlet. Set the `$server` variable as the `Server` parameter value. Specify the `Port` parameter value. ::: ## Related Commands [`Get-VBRKMSServer`](get-vbrkmsserver.md)