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