Solved

Storage Groups

Posted on 2013-01-02
2
395 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

809 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