Solved

How to export storage Quotas list for all user in database

Posted on 2011-02-22
6
1,377 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
To show how to create a transport rule 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 >> Rules tab.:  To cr…
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…

831 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