Link to home
Start Free TrialLog in
Avatar of Michael Leonard
Michael LeonardFlag for United States of America

asked on

looking for a posh or quest ad cmdlets script to generate report of mailbox sizes

can someone provide a script that will capture the mailbox size report of users listed on an input CSV. we are running exchange 2010 sp2

thx in advance.

S.
ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Michael Leonard

ASKER

thx. how can i also capture these values on the size [i need the hidden folder sizes as well]
folderpath,foldersize, ItemsinFolder -autosize
hi Akhater, any update on this?
i think i almost have it, but still not working? can anyone provide assistance?

$mbxs = import-csv c:\list.csv

$mbxs | foreach {Get-MailboxFolderStatistics $_.username | Select Identity,FolderPath,FolderSize,ItemsInFolder} | Sort-Object ItemsInFolder | fl | out-File C:\Mboxes.txt
thank you