Hi,
For all intents and purposes, I had issues with the actions Get-EXOMailboxPermission and Get-EXORecipientPermission wich timed out when executed against too much mailboxes and made the hole script fail.
The workaround I found is to add a Start-Sleep 0.25 in the foreach loops (didn't try a lower value though) of the two instances of Get-EXOMailboxPermission and one of Get-EXORecipientPermission.
Hi,
For all intents and purposes, I had issues with the actions Get-EXOMailboxPermission and Get-EXORecipientPermission wich timed out when executed against too much mailboxes and made the hole script fail.
The workaround I found is to add a Start-Sleep 0.25 in the foreach loops (didn't try a lower value though) of the two instances of Get-EXOMailboxPermission and one of Get-EXORecipientPermission.