Need a command RRS feed

  • Question

  • HI All,

    Its bit urgent

    I need a command or script in exchange 2007 to get the below output for all active mailbox in the org.

    1:smtp address

    2:display name

    3: server name

    4: current size of mail box



    Tuesday, March 25, 2014 4:09 PM


  • i have used the below method for this

    get-mailbox | ft displayname, server, primarysmtpaddress >>out.csv


    import-csv .\out.csv | foreach {getmailboxstatistics $_.SMTP} | ft totalitemsize, displayname >>output.txt

    I am able to get the table as I want .

    Please mark this as an answer

    • Edited by abhayk84imp Tuesday, March 25, 2014 5:46 PM
    • Marked as answer by abhayk84imp Wednesday, April 2, 2014 10:13 AM
    Tuesday, March 25, 2014 5:44 PM