Solved

Exchange cmdlet 2010

Posted on 2012-03-19
1
356 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 41

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

734 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