Add-VBRWinServer
Short Description
Adds a Windows server to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AddCredentialsAdd-VBRWinServer -Name <String> -User <String> -Password <String> [-Description <String>] [<CommonParameters>]
-
CredentialsAdd-VBRWinServer -Name <String> [-Description <String>] -Credentials <CCredentials> [<CommonParameters>]
-
UseCertificateAdd-VBRWinServer -Name <String> [-Description <String>] [-UseCertificate] [<CommonParameters>]
Detailed Description
This cmdlet adds a Windows server to the backup infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the Windows server.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies the description of the Windows server. |
|
False |
Named |
False |
|
Name |
Specifies the DNS name of the Windows server. |
|
True |
Named |
False |
|
Password |
Specifies the password you want to use for authenticating with the Windows server. |
|
True |
Named |
False |
|
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. |
|
True |
Named |
False |
|
User |
Specifies the user name you want to use for authenticating with the Windows server. |
|
True |
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. Adding New Windows Server Using User Name and Password
|
This command adds a new Windows server named
|
Example 2. Adding New Windows Server Using Credentials
|
This example shows how to add a new Windows server named
Perform the following steps:
|
Example 3. Adding New Windows Server Using Certificate-Based Authentication
|
This example shows how to add a new Windows server named
Perform the following steps:
|
Related Commands
Get-VBRCredentialsReturns credentials records.