Exchange 2007 - Exchange Management Shell - Exchange Management Console
Exchange 2007 Articles , Tutorials and Shell Cmdlet
This blog is dedicated to Ms Exchange 2007 , Active Directory , MSCS Services articles and demos , Its all about Microsoft Exchange 2007 .
16th
FEB
How to get Mailbox Size in Exchange 2007
Posted by under Exchange Management Shell
In Exchange 2007 , You can get mailbox size using different Exchange cmdlets ,
To get mailbox size for individual user. You can use following command
Get-MailboxStatistics -Identity UserSamAccountName
Here is Output.
AssociatedItemCount : 71
DeletedItemCount : 29
DisconnectDate :
DisplayName : xxxxxxxxxxxx
ItemCount : 5485
LastLoggedOnUserAccount : Domain\UserName
LastLogoffTime :
LastLogonTime : 2/4/2009 9:23:02 AM
LegacyDN : /O=xxxxx/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIB
3SPDLT)/CN=RECIPIENTS/CN=xxxx
MailboxGuid : f291a2e9-e123-4f2a-be4d-ec0349c54a10
ObjectClass : Mailbox
StorageLimitStatus : BelowLimit
TotalDeletedItemSize : 2205239B
TotalItemSize : 463667583B
Database : xxxxx\xxxxx\xxxxxx
ServerName : xxxxxx
StorageGroupName : xxxxxx
DatabaseName : xxxxxxx
Identity : f291a2e9-e123-4f2a-be4d-ec0349c54a10
IsValid : True
OriginatingServer : xxxxxx.xxx.xxx
You can see the size of mailbox in bytes , You can convert in Megabytes or Gbs
To Get Mailbox size for multiple mailboxes , You can use the following Powershell cmdlet.
Get-MailboxStatistics |where {$_.TotalItemSize -gt 100MB} | sort $_.TotalItemSize |FT DisplayName,ItemCount,TotalItemSize >c:\size.txt
The above command will create a file with output containing all users accounts having mailbox size greater than 100MB.
Leave a Reply
Post Meta
-
February 16, 2009 -
Exchange Management Shell -
No Comments
-
Comments Feed
