New-VBRIndividualComputerCustomCredentials
Short Description
Specifies credentials for authenticating with individual computers.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRIndividualComputerCustomCredentials -HostName <string> -Credentials <CCredentials> [<CommonParameters>] |
Detailed Description
This cmdlet specifies credentials for authenticating with individual computers that you want to add to a protection group. Veeam Backup & Replication uses these credentials for Veeam Agent deployment and backup\restore activities.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
HostName | Specifies the DNS name or an IP address of the computer for which you want to specify custom credentials. | True | Named | True (ByValue, | False |
Credentials | Specifies credentials for authenticating with individual computers in a protection group. Accepts CCredentials or string (user name) types. NOTE: for string type, enter a user name in the "Domain\Username" format. | True | Named | True (ByProperty | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Typeget-crede
VBRIndividualComputerCustomCredentials
Example
This example shows how to specify credentials for authenticating with individual computers.
You will need to perform the following steps:
- Run Get-Credential to create a credential object you want to use for authenticating with computers. Type the credentials and save the result to the $creds variable.
- Run New-VBRIndividualComputerCustomCredentials with the $creds variable and the HostName parameter.
$creds = Get-Credential New-VBRIndividualComputerCustomCredentials -HostName 172.19.51.50 -Credentials $creds |
Related Commands