officertango
asked on
exchange 2007 inbox report
I am running exchange 2007, I need to run a report for all mailbox size for Inbox (excluding subfolder), deleted items and Sent items Can someone provide me the command?
thanks
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you want to know the size of inboxes for all mailboxes like a sum?
I think you cannot do it with one coomand.
You can do for each mailbox
Get-MailboxFolderStatistic s mailboxname -FolderScope Inbox | select foldersize, folderpath | Wher
e-Object {$_.folderpath -eq "/Inbox"}
and sum them.
I think you cannot do it with one coomand.
You can do for each mailbox
Get-MailboxFolderStatistic
e-Object {$_.folderpath -eq "/Inbox"}
and sum them.
ASKER
I want to know the inbox only, without subfolder for each mailbox. I do not want the sum of all inbox. I hope I explained it well.
Thanx
Thanx
Ok! Try my version of powershell command. It is only for inbox without subfolders, because with subfolders that command look like Get-MailboxFolderStatistic s mailboxname -FolderScope Inbox | select FolderandSubFolderSize ...
ASKER
thanks for all your help.
I can't figure out how to get the command to run for all users. What is the command srting? Also where does the file gets dump once script finished?
thanks
inbox-sniptool.JPG
I can't figure out how to get the command to run for all users. What is the command srting? Also where does the file gets dump once script finished?
thanks
inbox-sniptool.JPG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I created a mailboxstats.ps1 file with the text that you sent and placed on desktop of server, than I open Exchange management Shell and ran mailboxstats.ps1. It completed the script but I do not know where the output file is. It is not on desktop??
thanks for all your help
thanks for all your help
There is output in console.
ASKER
This is what I see within the powershell, and it is not completed. Does it not output to a file?
thanks
Capture10.JPG
thanks
Capture10.JPG
Try in ps1 file instead "$report" put "$report | export-csv c:\scripts\mailboxstats.cs v"
or run like mailboxstats.ps1 > c:\scripts\output.txt
or run like mailboxstats.ps1 > c:\scripts\output.txt
ASKER
na
ASKER
thanks