Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Exchange cmdlet 2010

Posted on 2012-03-19
1
Medium Priority
?
360 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 43

Accepted Solution

by:
Adam Brown earned 1500 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
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…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

916 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