Skip to content

Commit 1765666

Browse files
committed
Update exchange-online-powershell-v2.md
Added memory leak note per email request
1 parent bd497a2 commit 1765666

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ When you report an issue at `exocmdletpreview[at]service[dot]microsoft[dot]com`,
3737
Connect-ExchangeOnline -EnableErrorReporting -LogDirectoryPath <Path to store log file> -LogLevel All
3838
```
3939

40+
> [!NOTE]
41+
> The latest version of EXO V2 module and frequent use of the **Connect-ExchangeOnline** and **Disconnect-ExchangeOnline** cmdlets in a single PowerShell session or script might lead to a memory leak. The best way to avoid this issue is to use the _CommandName_ parameter on the **Connect-ExchangeOnline** cmdlet to limit the cmdlets that are used in the session.
42+
4043
## How the EXO V2 module works
4144

4245
The module contains a small set of exclusive Exchange Online PowerShell cmdlets that are optimized for bulk data retrieval scenarios (think: thousands and thousands of objects). When you first open the module, you'll only see these exclusive cmdlets. After you [connect to your Exchange Online organization](connect-to-exchange-online-powershell.md), you'll see all of the familiar cmdlets that are available in Exchange Online PowerShell.

0 commit comments

Comments
 (0)