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 ...
-
5th July 2008, 02:05 PM #1 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?
-
-
IDG Tech News
-
5th July 2008, 03:55 PM #2 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
-
-
23rd September 2008, 11:43 AM #3 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
-
-
23rd September 2008, 05:19 PM #4 Could use this also:
Powershell then
Code:
get-mailboxStatistics -server mail >"c:\mailsize.txt"
HBJB
-
SHARE:
Similar Threads
-
By z4ydi in forum Network and Classroom Management
Replies: 2
Last Post: 21st February 2008, 05:18 PM
-
By choran in forum Windows
Replies: 3
Last Post: 15th January 2008, 12:57 PM
-
By choran in forum Windows
Replies: 1
Last Post: 14th January 2008, 08:41 PM
-
By jwood in forum Windows
Replies: 0
Last Post: 18th October 2007, 08:29 AM
-
By ICTNUT in forum Windows
Replies: 3
Last Post: 26th January 2007, 03: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
-
Forum Rules