New-VBRIndividualComputerContainer

Short Description

Creates a scope of computers for a protection group.

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

New-VBRIndividualComputerContainer -CustomCredentials <VBRIndividualComputerCustomCredentials[]> [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRIndividualComputerContainer object. This object contains a scope of computers. Use this object to create a protection group with the Add-VBRProtectionGroupCreates protection groups in Veeam Backup & Replication. cmdlet.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

CustomCredentials

Specifies computers and a method for authenticating them.

Accepts the VBRIndividualComputerCustomCredentials[] object. To get this object, run the New-VBRIndividualComputerCustomCredentialsSpecifies a method for authenticating individual computers. cmdlet.

VBRIndividualComputerCustomCredentials[]

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRIndividualComputerContainer

Examples

New-VBRIndividualComputerContainerExample 1. Creating Scope of Computers for Protection Group

This example shows how to create a scope of computers for a protection group.

$computers = @("172.19.51.53", "sup-v8931") | ForEach { New-VBRIndividualComputerCustomCredentials -HostName $_ -Credentials "support\jsmith" }

New-VBRIndividualComputerContainer -CustomCredentials $computers

Perform the following steps:

  1. Run the New-VBRIndividualComputerCustomCredentialsSpecifies a method for authenticating individual computers. cmdlet. Use the ForEach statement to apply the same credentials to multiple computers. Save the result to the $computers variable.
  2. Run the New-VBRIndividualComputerContainer cmdlet. Set the $computers variable as the CustomCredentials parameter value.

New-VBRIndividualComputerContainerExample 2. Creating Protection Group with Scope of Computers

This example shows how to create a protection group with a scope of computers.

$computers = @("172.19.51.53", "sup-v8931") | ForEach { New-VBRIndividualComputerCustomCredentials -HostName $_ -Credentials "support\jsmith" }

$compscope = New-VBRIndividualComputerContainer -CustomCredentials $computers

Add-VBRProtectionGroup -Name "Computers" -Container $compscope

Perform the following steps:

  1. Create a scope of computers:
    • Run the New-VBRIndividualComputerCustomCredentialsSpecifies a method for authenticating individual computers. cmdlet. Use the ForEach statement to apply the same credentials to multiple computers. Save the result to the $computers variable.
    • Run the New-VBRIndividualComputerContainer cmdlet. Set the $computers variable as the CustomCredentials parameter value. Save the result to the $compscope variable.
  2. Create a protection group. To do this, run the Add-VBRProtectionGroupCreates protection groups in Veeam Backup & Replication. cmdlet. Specify the Name parameter value. Set the $compscope variable as the Container parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18