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 Responses to “Mailbox statistics using Powershell in Exchange 2007”

  1. Stevenson Fernandes says:

    Is there a script we could figure out if the mailbox was moved and the prior database location

  2. Annie Edith CastaƱeda says:

    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

  3. Annie Edith CastaƱeda says:

    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

Leave a Reply