Link to home
Start Free TrialLog in
Avatar of enclara
enclara

asked on

Storage Groups

Hello,

I am trying to export to CVS all mailboxes to include

Last time someone logged into mailbox
What storage group they are part off
Total mailbox size per user

I ran the following script in exchange shell running on Exchange 2007 Sp1

Get-MailboxStatistics -Database "Mailbox Database" | Select DisplayName, TotalItemSize, StorageGroupName,StorageLimitStatus,LastLogonTime | Export-CSV c:\mailboxinfo.csv

Results: Only extract one storage group * any particular reason it missed other storage groups.
What is my script missing?
ASKER CERTIFIED SOLUTION
Avatar of Sajid Shaik M
Sajid Shaik M
Flag of Saudi Arabia 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
Try

Get-MailboxDatabase | Get-MailboxStatistics | Select DisplayName, TotalItemSize, StorageGroupName,StorageLimitStatus,LastLogonTime | Export-CSV c:\mailboxinfo.csv

Open in new window