Kyle Posted July 5, 2008 Posted July 5, 2008 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?
Gatt Posted July 5, 2008 Posted July 5, 2008 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
thesk8rjesus Posted September 23, 2008 Posted September 23, 2008 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 = "[email protected]" $ToAddress = "[email protected]" $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:D
Heebeejeebee Posted September 23, 2008 Posted September 23, 2008 Could use this also: Powershell then get-mailboxStatistics -server mail >"c:\mailsize.txt" HBJB
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now