Cmdlets for MongoDB

Build 25.0.9434

AuthDatabase Parameter (Connect-MongoDB Cmdlet)

The name of the MongoDB database for authentication.

Syntax

Connect-MongoDB -AuthDatabase string

Data Type

cstr

Default Value

""

Remarks

The name of the MongoDB database for authentication. Only needed if the authentication database is different from the database to retrieve data from.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434