E2k7 Script for custom report
I need to create a script that has the following information in a table format sorted by department then by mailbox size.Display Name, Mailbox Size (MB), LastLogon Time, This is the script I have so far and I'm not sure how to get the department included and sorted. Get-MailboxStatistics -server porter | Sort-Object TotalItemSize -Descending | select DisplayName,@{name= "TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}}, lastlogontime | ConvertTo-Html | Out-File D:\mailboxsize.htmlPenny
April 28th, 2009 3:01am

Here is similar thread which should help you to get desired result with Department mentioned... http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/9a7b19c7-b4b9-45cc-a2d6-be90b5b16921 Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
April 28th, 2009 5:32am

Thank you that worked out very nicely.Penny
April 30th, 2009 10:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics