Mailbox statistics using Powershell in Exchange 2007

1. Sorted by Displayname (Display name, Mailbox size (MB), Item count, Last logon time, Last logoff time, Last loggedon user account)

Get-MailboxStatistics -Database “mailbox database” | Sort -Property DisplayName | ft DisplayName,@{expression={$_.totalitemsize.value.ToMB()};label=”Mailbox Size(MB)”}, itemcount, lastlogontime,lastlogofftime,lastloggedonuseraccount

2. Sorted by Last logon time
Get-MailboxStatistics -Database “mailbox database” | Sort -Property lastlogontime | ft DisplayName,@{expression={$_.totalitemsize.value.ToMB()};label=”Mailbox Size(MB)”}, itemcount, lastlogontime, lastlogofftime

3 thoughts on “Mailbox statistics using Powershell in Exchange 2007

  1. Annie Edith Castañeda

    Hi, I have a question, can I obtain the logon of a mailbox between two dates?

    For example between Oct 2 and Oct 5

    Thank you

    Like

    Reply
  2. Annie Edith Castañeda

    Hi, I have aquestion, Can I obtain a report with the logon a mailbox between two dates?

    For example Oct 2 ant Oct 5

    thanks

    Like

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s