Solved

Exchange cmdlet 2010

Posted on 2012-03-19
1
350 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

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create a Distribution Group 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 >>…
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…

758 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