Skip to content

Commit 2e7866e

Browse files
committed
Update exchange-online-powershell-v2.md
Changed Invoke-Command call-out from 7K to 10K per email discussion
1 parent 850cab2 commit 2e7866e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ Version 3.0.0 or later is known as the EXO V3 module. The EXO V3 module improves
119119
- Cmdlets backed by the REST API have a 15 minute timeout, which can affect bulk operations. For example, the following **Update-DistributionGroupMember** command to update 7000 members of a distribution group might time out:
120120

121121
```powershell
122-
$Members = @("member1","member2",...,"member7000")
122+
$Members = @("member1","member2",...,"member10000")
123123
124124
Update-DistributionGroupMember -Identity DG01 -Members $Members
125125
```
126126

127127
Instead, use the **Update-DistributionGroupMember** command to update fewer members, and then add the remaining members individually using an **Add-DistributionGroupMember** command. For example:
128128

129129
```powershell
130-
Update-DistributionGroupMember -Identity DG01 -Members $Members[0..3499]
130+
Update-DistributionGroupMember -Identity DG01 -Members $Members[0..4999]
131131
132-
$Remaining = $Members[-3500..-1]
132+
$Remaining = $Members[-5000..-1]
133133
134134
foreach ($Member in $Remaining)
135135

0 commit comments

Comments
 (0)