在RDB中检测存档邮箱 [英] Detecting Archive Mailboxes in RDB

查看:61
本文介绍了在RDB中检测存档邮箱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个方案,其中用户邮箱已启用存档,并且存档邮箱位于与实时邮箱不同的数据库上。我已经备份了一个包含实时和归档邮箱的数据库,并将其恢复到恢复数据库。


我想找到一种方法,从编程方式查看RDB(通过MAPI或任何其他有能力的API),告诉哪些是实时邮箱的备份,哪些是存档邮箱的备份。


我不能依赖于RDB名称,因为它可以是任何东西,也不是我可以指望显示名称的一致性(存档mbx显示名称甚至可以与实时mbx显示名称相同)。 Exchange命令行管理程序命令"get-mailbox -archive -database< dbname>
"似乎也无法做出区分。


我现在要问的是什么?


感谢您提供相关信息。


James Mooney,EMC Corporation

解决方案

Get-MailboxStatistics -Database< RecoveryDB>  ; |其中{


_.IsArchiveMailbox -eq'True'}


它将列出Recovery数据库中存档邮箱的所有邮箱。


I have a scenario where user mailboxes are archive-enabled, and the archive mailboxes are located on databases separate from the live mailboxes. I have backed up a database containing both live and archive mailboxes, and recovered it to a Recovery Database.

I would like to find a way, from programatically looking at the RDB (via MAPI or any other capable API), to tell which are backups of live mailboxes and which are backups of archive mailboxes.

I can't depend on the RDB name, as it can be anything, nor can I count on consistency of display names (archive mbx display names can even be identical to live mbx display names). The Exchange Management Shell command "get-mailbox -archive -database <dbname> " doesn't seem to be capable of making the distinction either.

Is what I'm asking currently possible?

Thanks for any pertinent info.

James Mooney, EMC Corporation

解决方案

Get-MailboxStatistics -Database <RecoveryDB>  | Where {


_.IsArchiveMailbox -eq 'True'}

It will list all the mailboxes in the Recovery database which are archive mailboxes.


这篇关于在RDB中检测存档邮箱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆