Solved

Storage Groups

Posted on 2013-01-02
2
397 Views
Last Modified: 2013-04-29
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?
0
Comment
Question by:enclara
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Shaik M. Sajid earned 500 total points
ID: 38738219
Exchange server name: EXC07

Storage group name: SG01

Database name: SG01MB1

Get-MailboxStatistics -Database "Exc07\SG01\SG01MB1" select DisplayName, ItemCount, TotalItemSize export-csv -path e:\Reports\SG1.csv
 

http://smtp25.blogspot.com/2009/01/how-to-export-user-mailboxes-and-its_12.html

try this blog

all the best
0
 
LVL 49

Expert Comment

by:Akhater
ID: 38739427
Try

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

Open in new window

0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
how to add IIS SMTP to handle application/Scanner relays into office 365.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question