You will need to add the swtich -ArchiveDatabase <archive>
Hope this helps with your query,
--
--If the reply is helpful, please Upvote and Accept as answer--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello everyone,
I want to multiple users' mailbox enable archive via powershell at Exchange Server 2013.
Get-Mailbox -Database Test01 -Filter "ArchiveGuid -Eq $null -AND ArchiveDomain -eq
$null -AND Name -NotLike 'DiscoverySearchMailbox*'" | Enable-Mailbox -Archive
I've this script. It works. But I want to choose different database for archive. How can I do? Please help me.
You will need to add the swtich -ArchiveDatabase <archive>
Hope this helps with your query,
--
--If the reply is helpful, please Upvote and Accept as answer--