none
Number of mailboxes in database RRS feed

  • Question

  • Running Exchange 2007, but I can't find out an easy way to do this! All I want to know is the number of mailboxes in a given database (e.g. MBXSVR1-IS1).

    Does anyone know how?!!
    Wednesday, April 13, 2011 7:19 PM

Answers

  • You have to chain the commands:

    get-mailboxdatabase server\database | get-mailboxstatistics |measure-object

    Simon.


    Simon Butler, Exchange MVP
    Blog | Exchange Resources | In the UK? Hire Me.
    • Proposed as answer by Sophia Xu Friday, April 15, 2011 6:45 AM
    • Marked as answer by Sophia Xu Thursday, April 21, 2011 9:15 AM
    Wednesday, April 13, 2011 8:10 PM
  •  

    Total # of Mailboxes in your organization:  Get-Mailbox | Measure-Object

    Total # of Mailboxes in a particular server:  Get-Mailbox –Server servername | Measure-Object

    Total # of Mailboxes in a specific database:  Get-Mailbox –database dbname | Measure-Object


    Troy Werelius
    www.Lucid8.com
    • Proposed as answer by Sophia Xu Friday, April 15, 2011 6:45 AM
    • Marked as answer by Sophia Xu Thursday, April 21, 2011 9:15 AM
    Thursday, April 14, 2011 3:32 AM

All replies

  • You have to chain the commands:

    get-mailboxdatabase server\database | get-mailboxstatistics |measure-object

    Simon.


    Simon Butler, Exchange MVP
    Blog | Exchange Resources | In the UK? Hire Me.
    • Proposed as answer by Sophia Xu Friday, April 15, 2011 6:45 AM
    • Marked as answer by Sophia Xu Thursday, April 21, 2011 9:15 AM
    Wednesday, April 13, 2011 8:10 PM
  •  

    Total # of Mailboxes in your organization:  Get-Mailbox | Measure-Object

    Total # of Mailboxes in a particular server:  Get-Mailbox –Server servername | Measure-Object

    Total # of Mailboxes in a specific database:  Get-Mailbox –database dbname | Measure-Object


    Troy Werelius
    www.Lucid8.com
    • Proposed as answer by Sophia Xu Friday, April 15, 2011 6:45 AM
    • Marked as answer by Sophia Xu Thursday, April 21, 2011 9:15 AM
    Thursday, April 14, 2011 3:32 AM