Disconnect-Exchange Cmdlet
Closes a connection to Microsoft Exchange.
Syntax
Disconnect-Exchange [parameters]
Remarks
The Disconnect-Exchange cmdlet is used to close a connection that was opened by the Connect-Exchange cmdlet.
Disconnect-Exchange -Connection $connection