Use Prepare-MoveRequest.ps1

https://learn.microsoft.com/en-us/exchange/prepare-mailboxes-for-cross-forest-moves-using-the-prepare-moverequest-ps1-script-in-the-shell-exchange-2013-help

.\Prepare-MoveRequest.ps1 -Identity username -RemoteForestDomainController «remote domain controller name» -RemoteForestCredential (Get-Credential) -LocalForestDomainController «local domain controller name» -LocalForestCredential (Get-Credential)

New-MoveRequest -Identity username -TargetDatabase «target database name» -Remote -RemoteHostName «remote host name» -RemoteCredential (Get-Credential) -TargetDeliveryDomain «target domain name»

Examples

$RemoteCredential = Get-Credential
$LocalCredential = Get-Credential

.\Prepare-MoveRequest.ps1 -Identity username -RemoteForestDomainController «remote domain controller name» -RemoteForestCredential $RemoteCredential -LocalForestDomainController «local domain controller name» -LocalForestCredential $LocalCredential -TargetMailUserOU «OU=OUName,OU=OUName,DC=domainname,DC=domain prefix»

Other

Enable-Mailbox -ArchiveGuid «guid» -ArchiveDatabase «archive database name» -Identity username