Cmdlets for DB2

Build 25.0.9434

Disconnect-DB2 Cmdlet

Parameters  

Closes a connection to DB2.

Syntax

Disconnect-DB2 [parameters]

Remarks

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

Disconnect-DB2 -Connection $connection

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