Skip to content

Commit 12338f1

Browse files
committed
Update exchange-online-powershell-v2.md
Added note about multiple connections and the Get-EXO cmdlets
1 parent 45a5a2e commit 12338f1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

exchange/docs-conceptual/exchange-online-powershell-v2.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath <Path to store lo
132132
133133
## Cmdlets in the Exchange Online PowerShell module
134134

135-
All versions of the module contain nine exclusive **Get-EXO\*** cmdlets for Exchange Online PowerShell that are optimized for speed in bulk data retrieval scenarios (thousands and thousands of objects). The older related remote PowerShell cmdlets are still available.
136-
137-
The improved Exchange Online PowerShell cmdlets that are available only in the module are listed in the following table:
135+
All versions of the module contain nine exclusive **Get-EXO\*** cmdlets for Exchange Online PowerShell that are optimized for speed in bulk data retrieval scenarios (thousands and thousands of objects). The improved Exchange Online PowerShell cmdlets that are available only in the module are listed in the following table:
138136

139137
|EXO module cmdlet|Older related cmdlet|
140138
|---|---|
@@ -148,6 +146,9 @@ The improved Exchange Online PowerShell cmdlets that are available only in the m
148146
|[Get-EXOMailboxFolderPermission](/powershell/module/exchange/get-exomailboxfolderpermission)|[Get-MailboxFolderPermission](/powershell/module/exchange/get-mailboxfolderpermission)|
149147
|[Get-EXOMobileDeviceStatistics](/powershell/module/exchange/get-exomobiledevicestatistics)|[Get-MobileDeviceStatistics](/powershell/module/exchange/get-mobiledevicestatistics)|
150148

149+
> [!NOTE]
150+
> If you open multiple connections to Exchange Online PowerShell in the same window, the **Get-EXO\*** cmdlets are always associated with the last (most recent) Exchange Online PowerShell connection. Run the following command to find the REST API session where the **Get-EXO\*** cmdlets are run: `Get-ConnectionInformation | Where-Object {$_.ConnectionUsedForInbuiltCmdlets -eq $true}`. If the last Exchange Online PowerShell connection used remote PowerShell, the **Get-EXO\*** cmdlets are run in that connection (and the output of the **Get-ConnectionInformation** command is meaningless).
151+
151152
The connection-related cmdlets in the module are listed in the following table:
152153

153154
|EXO module cmdlet|Older related cmdlet|Comments|

0 commit comments

Comments
 (0)