Set-VBRWinServer
Short Description
Modifies Windows server added to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Credentials (Default)Set-VBRWinServer -Server <CHost> [-Description <String>] [-Credentials <CCredentials>] [<CommonParameters>]
-
AddCredentialsSet-VBRWinServer -Server <CHost> [-User <String>] [-Password <String>] [-Description <String>] [<CommonParameters>]
-
UseCertificateSet-VBRWinServer -Server <CHost> [-Description <String>] [-UseCertificate] [<CommonParameters>]
Detailed Description
This cmdlet modifies a Windows 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 credentials you want to use for authenticating with the Windows server.
Accepts the |
|
False |
Named |
False |
|
Description |
Specifies a description of the Windows server. |
|
False |
Named |
False |
|
Password |
Specifies the password you want to use for authenticating with the Windows server. |
|
False |
Named |
False |
|
Server |
Specifies the Windows server which settings you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
UseCertificate |
Defines that the cmdlet will use certificate-based authentication to authenticate with the Windows server. This authentication method requires Veeam Deployment Kit pre-installed on the target Windows server. |
|
False |
Named |
False |
|
User |
Specifies a user name you want to use for authenticating with the Windows server. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the CHost object that contains settings of a Windows server added to the backup infrastructure.
Examples
Example 1. Modifying Credentials of Windows Server
|
This example shows how to modify credentials of the
Perform the following steps:
|
Example 2. Modifying User Name and Password of Windows Server
|
This example shows how to modify user name and password of the Windows server.
Perform the following steps:
|
Example 3. Modifying Authentication Method of Windows Server to Certificate-Based Authentication
|
This example shows how to switch the authentication method of the
Perform the following steps:
|
Related Commands
Get-VBRCredentialsReturns credentials records.Get-VBRServerReturns hosts connected to the backup infrastructure.