Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2009-10-14

You can disconnect from a remote server running Microsoft Exchange Server 2010 using the remote Shell.

Looking for other management tasks related to the remote Shell? Check out Managing Exchange Management Shell Connections.

Caution:
If you close the Windows PowerShell window without following this procedure, the session will have to time out, and the quota for the maximum number of concurrent connections may prevent you from connecting back to the service on a timely basis.

Use the Shell to disconnect from an Exchange 2010 server

Note:
You can't use the EMC to disconnect from a remote Exchange 2010 server.

This example disconnects from the Exchange 2010 server.

Copy Code
Remove-PSSession $Session