Cmdlets for MongoDB

Build 24.0.9060

Disconnect-MongoDB Cmdlet

Parameters  

Closes a connection to MongoDB.

Syntax

Disconnect-MongoDB [parameters]

Remarks

The Disconnect-MongoDB cmdlet is used to close a connection that was opened by the Connect-MongoDB cmdlet.

Disconnect-MongoDB -Connection $connection

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060