Solved

Exchange cmdlet 2010

Posted on 2012-03-19
1
351 Views
Last Modified: 2012-06-27
How to show all current mailbox size and prohibit to send quota by using Exchange cmdlet?
0
Comment
Question by:Hitony
1 Comment
 
LVL 38

Accepted Solution

by:
Adam Brown earned 500 total points
ID: 37738486
"Username,ProhibitSendQuota,MailboxSize" > c:\users.csv

$users = get-mailbox
$users | foreach { $user,$prohibit =$_.alias,$_.prohibitsendquota
$size = (get-mailboxstatistics $user).totalitemsize
"$user,$prohibit,$size" >> c:\users.csv}

Will do it for you and output to C:\users.csv. You can change the filename how you want it.
0

Featured Post

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.

Question has a verified solution.

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

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…
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now