Set-VBRCSVContainer

Short Description

Modifies a scope of computers listed in a CSV file.

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

Syntax

Set-VBRCSVContainer -Container <VBRCSVContainer> [-Path <String>] [-NetworkCredentials <CCredentials>]

[-MasterCredentials <CCredentials>] [-UseCustomCredentials] [-CustomCredentials <VBRCSVCustomCredentials[]>] [<CommonParameters>]

Detailed Description

This cmdlet modifies the VBRCSVContainer object. This object contains the scope of computers you want to add to a protection group.

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Container

Specifies the scope of computers that are listed in a CSV file.

Accepts the VBRCSVContainer object. To get this object, run the New-VBRCSVContainerCreates a scope of computers listed in a CSV file. cmdlet.

VBRCSVContainer

True

Named

True (ByPropertyName, ByValue)

CustomCredentials

Specifies custom credentials for authenticating with associated computers.

Accepts the VBRCSVCustomCredentials[] object. To get this object, run the New-VBRCSVCustomCredentialsSpecifies custom credentials for authenticating with computers listed in a CSV file. cmdlet.

VBRCSVCustomCredentials[]

False

Named

True (ByPropertyName)

MasterCredentials

Specifies 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. If you want to use custom credentials for some computers, set the UseCustomCredentials parameter.

CCredentials

False

Named

True (ByPropertyName)

NetworkCredentials

Specifies the credentials you want to use for authenticating with the shared folder. The cmdlet will use these credentials if a CSV file is located on a file share.

CCredentials

False

Named

True (ByPropertyName)

Path

Specifies the path to the CSV file. The cmdlet will import computers’ DNS names or IP addresses from this file.

String

False

Named

True (ByPropertyName)

UseCustomCredentials

Defines that you want to use custom credentials for authenticating with some computers listed in a CSV file.

To specify custom credentials, use the CustomCredentials parameter.

SwitchParameter

False

Named

True (ByPropertyName)

<CommonParameters>

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

Output Object

VBRCSVContainer

Examples

Changing Master Account Credentials for Protection Group

This example shows how to change Master account credentials for a protection group.

$group = Get-VBRProtectionGroup -Name "Support PG"

$csv = $group.Container

$newcsv = Set-VBRCSVContainer -Container $csv -MasterCredentials "supporteast\dstones"

Set-VBRProtectionGroup -ProtectionGroup $group -Container $newcsv

Perform the following steps:

  1. Run the Get-VBRProtectionGroupReturns protection groups. cmdlet. Specify the Name parameter value. Save the result to the $group variable.
  2. Get the protection scope. Use the Container property of the $group variable. Save the result to the $csv variable.
  3. Run the Set-VBRCSVContainer cmdlet. Set the $csv variable as the Container parameter value. Specify the MasterCredentials parameter value. Save the result to the $newcsv variable.
  4. Run the Set-VBRProtectionGroupModifies protection groups. cmdlet. Set the $group variable as the ProtectionGroup parameter value. Set the $newcsv variable as the Container parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18