New-VBRMongoDBContainer

Short Description

Creates a MongoDB container for an array of existing custom credentials.

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

Syntax

New-VBRMongoDBContainer -CustomCredentials <VBRMongoDBCustomCredentials[]> [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRMongoDBContainer object. This object contains custom credentials for computers in MongoDB replica sets. Use this object to with the New-VBRMongoDBContainer cmdlet to create a container for existing custom credentials sets.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

CustomCredentials

Specifies custom credentials for computers in MongoDB replica sets.

Accepts the VBRMongoDBCustomCredentials[] object. To get this object run the New-VBRMongoDBCustomCredentialsCreates custom credentials for computers within MongoDB replica sets to be selected for backup operations. cmdlet.

VBRMongoDBCustomCredentials[]

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

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

Output Object

The cmdlet returns the VBRMongoDBContainer object.

Examples

Combine Computer Credentials

This command combines credentials for multiple computers in a MongoDB container to a single set of credentials.

$mongoComputerContainer = New-VBRMongoDBContainer -CustomCredentials ($computer0CustomCredentials, $computer1CustomCredentials)

Page updated 2026-09-02

Page content applies to build 13.1.1.18