我们在工作中想查看某个用户最后登录邮箱的时间怎么办?
通过 EMS(Exchange 命令行管理程序)进行查看,如下场景分为单一邮箱以及多个邮箱用户进行查看,相关 EMS 调用请参考下图:

如果你需要查看某一个邮箱的统计信息,在 Exchange Management Shell 中输入:
Get-MailboxStatistics -Identity 'administrator' |fl

如果你需要查看某个邮箱服务器上所有用户的统计信息,例如在这里范例需要查看邮件服务器 tr-ex01 上相关用户的登录时间,可以输入如下内容:
Get-MailboxStatistics -server 'tr-ex01'
具体结果如下:

如果你需要查看某个邮箱服务器上所有用户的统计信息,并且以降序排列,例如在这里范例需要查看邮件服务器 tr-ex01 上相关用户的登录时间并且以降序方式排列,可以输入如下内容:
Get-MailboxStatistics -server 'tr-ex01' | Sort LastLogonTime -Descending
比如需要查看邮件服务器上某个数据库内所有用户的统计信息,可以输入如下内容:
Get-MailboxStatistics -database "tianjin"有更多Get-MailboxStatistics介绍
阅读(4473) | 评论(0) | 转发(0) |