New-VBRMongoDBContainer

Short Description

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

Applies to

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

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-VBRMongoDBCustomCredentials cmdlet.

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.

Example

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)

Related Commands

Page updated 12/19/2024

Page content applies to build 12.3.0.310