CmdID / PowerShell / Cmdlets / Get
Get-ConnectionInformation
Use the Get-ConnectionInformation cmdlet to get information about all REST-based connections in the current PowerShell instance with Exchange Online. Exchange PowerShell reference
From the Exchange PowerShell reference 2 parameters Its page in the reference
Parameters
-ConnectionIdThe ConnectionId parameter filters the connections by ConnectionId.-ModulePrefixThe ModulePrefix parameter filters the connections by ModulePrefix.