+ Post New Thread
Results 1 to 4 of 4
Windows Thread, Exchange 2007 mailbox logging? in Technical; I recently installed Exchange 2007 and have been using it purely internally for the last 3 months. I know the ...
  1. #1
    Kyle's Avatar
    Join Date
    Jan 2006
    Posts
    974
    Thank Post
    91
    Thanked 14 Times in 13 Posts
    Rep Power
    21

    Exchange 2007 mailbox logging?

    I recently installed Exchange 2007 and have been using it purely internally for the last 3 months. I know the GUI is completely different to 2003, but in 2003 i could go to Exchange System Management console and look at the users mailbox size, last logged in time etc.

    CAn you now get at this info in Exchange 2007 in the same way?

  2. #2

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,660
    Thank Post
    859
    Thanked 646 Times in 429 Posts
    Rep Power
    498
    I dont think you can look at last logged on time in Exchange 2007 now since it is no longer integratd into ADUC - though there is porbably a PowerShell command to find out

    The closest are the "Last Logged On By" and the "Modified:" attributes on the General Tab (Recipient Configuration/Mailbox/%username%/Properties)

    As for mailbox size - you can see the Number of items and the mailbox size on the General Tab too

  3. #3
    thesk8rjesus's Avatar
    Join Date
    Sep 2008
    Posts
    107
    Thank Post
    11
    Thanked 6 Times in 6 Posts
    Rep Power
    14
    You Cant Look At the mailboxes any more without looking at each of their properties, but i have written .ps1 script which will send you an email with a .txt file saying there mailbox size this files only usually gets to 50KB and we have over 2500 accounts. the script will need to be saved in C:\Documents and Settings\Administrator.DOMAIN\




    ###Send mailbox statistics script

    ###First, the administrator must change the mail message values in this section
    $FromAddress = "mailboxreport@youraddress.co.uk"
    $ToAddress = "youremail@youraddress.co.uk"
    $MessageSubject = "Mailbox Size Report"
    $MessageBody = "Attached is the current list of mailbox sizes."
    $SendingServer = "servername.DOMAIN"

    ###Now get the stats and store in a text file
    Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,@{label="TotalItemSize(MB)";expression ={$_.TotalItemSize.Value.ToMB()}},ItemCount > mailboxes.txt

    ###Create the mail message and add the statistics text file as an attachment
    $SMTPMessage = New-Object System.Net.Mail.MailMessage $FromAddress, $ToAddress,
    $MessageSubject, $MessageBody
    $Attachment = New-Object Net.Mail.Attachment("./mailboxes.txt")
    $SMTPMessage.Attachments.Add($Attachment)

    ###Send the message
    $SMTPClient = New-Object System.Net.Mail.SMTPClient $SendingServer
    $SMTPClient.Send($SMTPMessage)




    copy this code into notepad and make the changes needed and then save it as mail.ps1, to run the script open exchange management shell and type './mail.ps1' Hope This helps

  4. #4
    Heebeejeebee's Avatar
    Join Date
    Nov 2006
    Location
    Intergalactic Cruise
    Posts
    1,056
    Thank Post
    69
    Thanked 77 Times in 61 Posts
    Rep Power
    35
    Could use this also:

    Powershell then

    Code:
    get-mailboxStatistics -server mail >"c:\mailsize.txt"
    HBJB

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange Mailbox connection to new account
    By z4ydi in forum Network and Classroom Management
    Replies: 2
    Last Post: 21st February 2008, 04:18 PM
  2. Exchange 2003 mailbox contents
    By choran in forum Windows
    Replies: 3
    Last Post: 15th January 2008, 11:57 AM
  3. outlook 2007 mailbox search
    By choran in forum Windows
    Replies: 1
    Last Post: 14th January 2008, 07:41 PM
  4. Exchange Mailbox Permissions
    By AnnDroyd in forum Windows
    Replies: 0
    Last Post: 18th October 2007, 08:29 AM
  5. Exchange Mailbox Size limits
    By ICTNUT in forum Windows
    Replies: 3
    Last Post: 26th January 2007, 02:41 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •