none
Cannot get new created mailbox by “Get-MailboxStatistics” RRS feed

  • General discussion

  • [Symptom]
    ===========

    When Exchange administrator create a new mailbox, they would like to check if new mailbox was created successfully by “Get-MailboxStatistics”.

    For example, we create two mailboxes, which are named Login@co.com and NoLogin@co.com, and are located at the Database “DB13”. Then running “Get-MailboxStatistics –Database DB13” to check if the they are created successfully. However, the return information does not contain the two mailboxes we just created.




    [Analysis]

    ========

    From Office articles, here is the explanation for the Get-MailboxStatistics cmdlet:

    Get-MailboxStatistics: Use the Get-MailboxStatistics cmdlet to obtain information about a mailbox, such as the size of the mailbox, the number of messages it contains, and the last time it was accessed. In addition, you can get the move history or a move report of a completed move request

    Get-Mailbox: Use the Get-Mailbox cmdlet to view mailbox objects and attributes, populate property pages, or supply mailbox information to other tasks

    That is to say Iif the mailbox never logon on, we could not view the details of mailbox using “Get-MailboxStatistics”. At this moment, we can only use Get-Mailbox to verify whether the mailbox has been created without issues.

    The different is shown as the following snapshot:



    Now, we logon mailbox which is
    Login@co.com, the user who is Login has logged, it will have some records in user mailbox, for example lasted logon time. But we could not view the user who is “NoLogin”, because he or she never logon mailbox. As the following snapshot:



    From this snapshot, we could find the “Last Login Time” of Login account.

    Finally, we will view two mailboxes information after we logon the user account which is
    NoLogin@co.com. As the following snapshot:



    [Conclusion]
    ========
    It’s by design. When you want to check if the mailbox has been created successfully, please do not use the command “Get-MailboxStatistics”. Use “Get-mailbox” instead.


    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    • Changed type ForumFAQ Thursday, July 16, 2015 2:43 AM
    Thursday, July 16, 2015 2:43 AM