Solved

How to export storage Quotas list for all user in database

Posted on 2011-02-22
6
1,429 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
To show how to generate a certificate request 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 Servers >> Certificates…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Suggested Courses

623 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