Share via

custom scripting

Sree 1,971 Reputation points
2021-10-21T12:03:27.427+00:00

Need custom scripting for

  1. add multiple mailboxes from excel file in eDiscovery hold exchange locations

2) is there any limit to add mailboxes in 1 eDiscovery hold

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.


Answer accepted by question author

KyleXu-MSFT 26,406 Reputation points
2021-10-22T02:10:24.79+00:00

@JustinMicheal-7973

1) The -SourceMailboxes in Set-MailboxSearch command doesn't support the "add" action:
142692-qa-kyle-10-04-23.png

You need to set the value directly: Set-MailboxSearch holdName -SourceMailboxes user1,user2,user3,user4

Here is a example for parameter which supported ”add“ action: -EmailAddresses

2) There doesn't exist limitation about it, you could contain all mailboxes in one hold.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.