Solved

How to export storage Quotas list for all user in database

Posted on 2011-02-22
6
1,403 Views
Last Modified: 2012-05-11
Dear sir

I would like to ask you about storage quotas.
How can I export storage quotas of user in database ? I don't want to get one by one user because many user in exchange server 2010


thanks
Joe
0
Comment
Question by:Joe_komkrib
[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
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Mahmoud Sabry
ID: 34950616
use the below command

Get-Mailbox | Get-MailboxStatistics | ft DisplayName,StorageLimitStatus,TotalItemSize
0
 

Author Comment

by:Joe_komkrib
ID: 34950824
Dear msabry

Thank you very much for your comment .Could you please tell me more as below question ?
1.Can l specify database name ?
2.Please tell me .How to export to text file .

thanks
Joe
0
 
LVL 11

Expert Comment

by:MichaelVH
ID: 34951214
Joe,

1. you can either use the Out-File cmdlet to write the output to a file eg
Get-Mailbox | Get-MailboxStatistics | Out-File C:\test.txt

or you can use the Export-CSV cmdlet and pipe it to that:
e.g. Export-Csv c:\scripts\test.txt

2. You can certainly filter based on a server, simply add a -Server parameter to the Get-Mailbox cmdlet!

Greets,

Michael
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:Joe_komkrib
ID: 34957573
dear all
Thanks , could you tell me if i want to speicy database neme? How can i use command?

regards,
komkrib
0
 
LVL 11

Expert Comment

by:MichaelVH
ID: 34958383
Get-Mailbox -Server 'Servername'
0
 
LVL 11

Accepted Solution

by:
MichaelVH earned 250 total points
ID: 34958390
Hi there,

you can specify the server running

Get-Mailbox -Server 'Servername'

and you can specify the database using

Get-Mailbox -Database 'Databasename'

For more info on the possibilities of the Get-Mailbox cmdlet, I refer you to:
http://technet.microsoft.com/en-us/library/bb123685.aspx

Greets,

Michael
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an email address policy 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 Mail Flow…
This video discusses moving either the default database or any database to a new volume.

749 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