Solved

Exchange cmdlet 2010

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

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

Does Powershell have you tied up in knots?

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

Suggested Solutions

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Read this checklist to learn more about the 15 things you should never include in an email signature.
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

773 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