foreach($mailbox in Get-MailboxStatistics -Database RDB) {New-MailboxRestoreRequest -SourceDatabase RDB -SourceStoreMailbox $mailbox.DisplayName -TargetMailbox $mailbox.DisplayName}
可参考下方微信公众号获取更多相关资讯
使用PowerShell从RDB数据库批量恢复用户邮箱
原文:https://blog.51cto.com/543925535/2366504