Disconnect-Exchange
SYNOPSIS
Disconnect and remove a PowerShell session to an Exchange server.
SYNTAX
DESCRIPTION
The `Disconnect-Exchange` function revokes and removes all active PowerShell sessions to Exchange servers. It also removes all temporary modules and functions associated with the sessions.
EXAMPLES
EXAMPLE 1
Stops all sessions to Exchange servers and removes all associated functions and modules.
PARAMETERS
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.