Set-VBRvCenter
Short Description
Modifies VMware vSphere servers added to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRvCenter -Server <CHost> [-Port <Int32>] [-Description <String>] [-Credentials <CCredentials>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies a selected VMware vCenter server added to the backup infrastructure.
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 |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the vCenter server.
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies the description of the vCenter server. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify a vCenter Server without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Port |
Specifies the Web service port for connection to the vCenter server.
Default: |
|
False |
Named |
False |
|
Server |
Specifies the vCenter server you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Modifying vCenter Server Port and Credentials
This example shows how to change the credentials and Web service port settings for the vCenter Server.
|
$server = Get-VBRServer -Type VC -Name abc.support.main.local $creds = Get-VBRCredentials -Name "Administrator" Set-VBRvCenter -Server $server -Credentials $creds -Port 444 |
Perform the following steps:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theTypeandNameparameter values. Save the result to the$servervariable. - Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Specify theNameparameter value. Save the result to the$credsvariable. - Run the
Set-VBRvCentercmdlet. Specify the following settings:- Set the
$servervariable as theServerparameter value. - Set the
$credsvariable as theCredentialsparameter value. - Specify the
Portparameter value.
- Set the
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRCredentialsReturns credentials records.