Get-ConnectionInformation
This cmdlet is available only in the Exchange Online PowerShell module v2.0.6-Preview7 or later. For more information, see About the Exchange Online PowerShell module.
Use the Get-ConnectionInformation cmdlet to get information about all REST-based connections in the current PowerShell instance with Exchange Online.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Syntax
Get-ConnectionInformation []
Description
The Get-ConnectionInformation cmdlet returns the information about all active REST-based connections with Exchange Online in the current PowerShell instance. This cmdlet is equivalent to the Get-PSSession cmdlet that's used with remote PowerShell sessions.
Examples
Example 1
Get-ConnectionInformation
This example returns a list of all active REST-based connections with Exchange Online in the current PowerShell instance.
Feedback
Submit and view feedback for