--- title: "Remove-VMwareServer" description: "This cmdlet removes the VMware server from the Virtualization Extensions Service configuration." canonical: "https://helpcenter.veeam.com/docs/mp/veshell/remove-vmwareserver.html" breadcrumb: "Veeam MP VEShell Reference > VEShell Cmdlets > Remove-VMwareServer" dateModified: "2026-09-10" --- # Remove-VMwareServer Removes the VMware server connection from the Virtualization Extensions Service configuration. **Applies to versions**: 8.0, 9.0, 9a ## Syntax ``` Remove-VMwareServer [-ServerName] [-VESServer ] [] ``` ## Detailed Description This cmdlet removes the VMware server from the Virtualization Extensions Service configuration. ## Parameters ### -ServerName \ Specifies names of VMware servers that should be removed from the Virtualization Extensions Service configuration. ::: tip To get the list of connected VMware servers, use the [`Get-VMwareServer`](get-vmwareserver.md) cmdlet. :::

Description

Aliases

Required?

True

Position?

1

Default Value

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

False

### -VESServer Specifies the Virtualization Extensions server. You can pass the following types of values: - Name of a machine (remote or local) where the Virtualization Extensions Service runs. Acceptable formats for the input value are: server name (such as "localhost" or "."), IP address (such as "172.15.19.6") and FQDN (such as "localhost.veeam.local"). - [Veeam.Psves.VesConnection](connection.md) object. For more information, type “[get-help about_VESServerParameter](connection_parameter.md)”.

Description

Aliases

Required?

False

Position?

Named

Default Value

Accept Pipeline Input?

False

Accept Wildcard Characters?

False

### \ This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see [Microsoft Docs](http://go.microsoft.com/fwlink/p/?LinkID=113216). ## Notes If the `-VESServer` parameter is not specified, the cmdlet will connect to the Virtualization Extensions Service on the local machine. ## Input The cmdlet accepts the following types of values for the `-ServerName` parameter: - System.String (you can pass a VMware server name, the server name value is used exactly as it is typed) - [Veeam.Psves.VMwareServer](vmware_server.md) (you can pass a VMware server object) ## Output The cmdlet does not return any output. ## Example 1 This command removes the “prod-vcenter” VMware server from the Virtualization Extensions Service configuration. ``` Remove-VMwareServer –ServerName prod-vcenter ``` -OR- ``` Remove-VMwareServer prod-vcenter ``` ## Example 2 This command removes all registered VMware servers from the Virtualization Extensions Service configuration. ``` Get-VMwareServer | Remove-VMwareServer ``` ## Example 3 This command removes the "prod-vcenter”, "dev-vcenter" and "marketing-vcenter" VMware servers from the Virtualization Extensions Service configuration. ``` Remove-VMwareServer –ServerName prod-vcenter,dev-vcenter,marketing-vcenter ```