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
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CustomCredentials |
Specifies custom credentials for computers in MongoDB replica sets.
Accepts the |
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) |
Related Commands
Add-VBRProtectionGroupCreates protection groups in Veeam Backup & Replication.New-VBRMongoDBCustomCredentialsCreates custom credentials for computers within MongoDB replica sets to be selected for backup operations.