New-VBRCSVCustomCredentials
Short Description
Specifies custom credentials for authenticating with computers listed in a CSV file.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRCSVCustomCredentials -HostName <string> [-Credentials <CCredentials>] [<CommonParameters>] |
Detailed Description
This cmdlet specifies custom credentials for authenticating with computers you want to add to a protection group from a CSV file. Veeam Backup & Replication uses these credentials for Veeam Agent deployment and backup\restore activities.
By default, Veeam Backup & Replication uses Master account credentials for authenticating with all computers listed in a CSV file. For authenticating with computers that require different credentials Veeam Backup & Replication uses custom credentials.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
HostName | Specifies DNS-name or IP address of the computer for which you want to specify credentials. | String | True | Named | True (ByValue, |
Credentials | Specifies custom credentials for authenticating with computers listed in a CSV file. If not set, Veeam Backup & Replication will use Master account credentials for authenticating with associated computers. Note: for string type, enter a user name in the Domain\Username format. | Accepts string (user name) or the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet. | False | Named | True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Setting Custom Credentials for Computers from CSV File
This example shows how to specify custom credentials for computers from a CSV file.
Perform the following steps:
|
Example 2. Setting Master Credentials for Computers from CSV File
This command specifies master credentials for the computer from a CSV file.
|
Related Commands