Remove-VBRServer
Short Description
Removes hosts from the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VBRServer [-Server] <CHost[]> [-SSHUser <String>] [-SSHPassword <String>] [-SSHPort <Int32>] [-SSHElevateToRoot] [-SSHFailoverToSu] [-SSHRootPassword <String>] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a host from the backup infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Server |
Specifies the array of servers you want to remove.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
SSHElevateToRoot |
Defines that non-root users are provided with the root account privileges.
Default: |
|
False |
Named |
False |
|
SSHFailoverToSu |
Defines that Veeam Backup & Replication will use the su command if the sudo command fails. If you provide this parameter, Veeam Backup & Replication will failover to the su command if the sudo command fails. Otherwise, if sudo fails Veeam Backup & Replication will not be able to add Linux credentials records.
Default: |
|
False |
Named |
False |
|
SSHPassword |
Specifies the password you want to use for authenticating with the Linux server. Note: To add a Linux host using an SSH key fingerprint, provide the Confirm parameter. |
|
False |
Named |
False |
|
SSHPort |
Specifies the Web service port for the connection to the Linux server console. |
|
False |
Named |
False |
|
SSHRootPassword |
Specifies the root password used for authentication. |
|
False |
Named |
False |
|
SSHUser |
Specifies the user name you want to use for authenticating with the Linux server.
Note: To add a Linux host using an SSH key fingerprint, provide the |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
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.
Examples
Example 1. Removing Hyper-V Cluster from Backup Infrastructure
|
This example shows how to remove the
Perform the following steps:
|
Example 2. Removing Virtual Center from Backup Infrastructure
|
This example shows how to remove the
Perform the following steps:
|
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.