这里是普通文章模块栏目内容页
Exchange-查看邮箱大小及所在数据库的存储配额

查看指定用户邮箱的大小

F:> Get-Mailbox  -Identity xxxxxxx |  Get-MailboxStatistics   | select DisplayName,TotalItemSize,Database

DisplayName                             TotalItemSize                           Database

-----------                             -------------                           --------

xxxxxxxxxxxxxxxxxxxxxxxxxxxx            16.64 GB (17,865,934,677 bytes)         SGxxxxxx

 

根据上面获取到的数据库,来查看数据库的存储配额

F:> Get-MailboxDatabase  -Identity SGxxxxxx | select ProhibitSendReceiveQuota,ProhibitSendQuota,IssueWarningQuota

ProhibitSendReceiveQuota                ProhibitSendQuota                       IssueWarningQuota

------------------------                -----------------                       -----------------

23 GB (24,693,964,800 bytes)            20 GB (21,474,836,480 bytes)            18.99 GB (20,394,803,200 bytes)